<?xml version="1.0"?>

<!-- Copyright (c) 2026 Josh Davidson (Octal450) -->

<PropertyList>

	<name>acconfig-error</name>
	<layout>vbox</layout>
	
	<color>
		<red>0.5</red>
		<green>0</green>
		<blue>0</blue>
		<alpha>0.95</alpha>
	</color>

	<group>
		<layout>hbox</layout>
		<text>
			<halign>left</halign>
			<label>Critical Error</label>
		</text>
	</group>
	
	<hrule>
		<color>
			<red>1.0</red>
			<green>1.0</green>
			<blue>1.0</blue>
			<alpha>0.95</alpha>
		</color>
	</hrule>
	
	<group>
		<layout>vbox</layout>
		
		<text>
			<halign>left</halign>
			<label>A critical internal error has occurred. The aircraft has been disabled.</label>
		</text>
		<text>
			<halign>left</halign>
			<label>The error cause is listed below. Please include this information if reporting this error.</label>
		</text>
		
		<hrule>
			<color>
				<red>1.0</red>
				<green>1.0</green>
				<blue>1.0</blue>
				<alpha>0.95</alpha>
			</color>
		</hrule>
		
		<group>
			<layout>hbox</layout>
			<halign>left</halign>
			
			<text>
				<label>Reason:</label>
			</text>
		
			<text>
				<border>1</border>
				<label>9999999999999999999999999999999999</label>
				<property>/systems/acconfig/error-reason</property>
				<live>1</live>
			</text>
		</group>
	</group>
	
	<hrule>
		<color>
			<red>1.0</red>
			<green>1.0</green>
			<blue>1.0</blue>
			<alpha>0.95</alpha>
		</color>
	</hrule>
	
	<button>
		<color>
			<red>0.6</red>
			<green>0</green>
			<blue>0</blue>
			<alpha>0.95</alpha>
		</color>
		<halign>center</halign>
		<legend>FlightGear Forums</legend>
		<pref-width>550</pref-width>
		<binding>
			<command>open-browser</command>
			<path>http://forum.flightgear.org</path>
		</binding>
	</button>

</PropertyList>
