<?xml version="1.0" encoding="UTF-8"?>
<interface domain="unity-window-switcher">
	<requires lib="gtk" version="4.0"/>
	<requires lib="adw" version="1.0"/>
	<object class="AdwPreferencesPage" id="prefs_widget">
		<property name="width_request">500</property>
		<property name="visible">True</property>
		
		<child>
			<object class="AdwPreferencesGroup">
				<property name="title" translatable="yes">Behavior</property>
				<child>
					<object class="AdwActionRow">
						<property name="title" translatable="yes">First tab changes windows (or apps)</property>
						<child>
							<object class="GtkSwitch" id="first_change_window">
								<property name="valign">center</property>
								<property name="can_focus">True</property>
							</object>
						</child>
					</object>
				</child>
			</object>
		</child>

		<child>
			<object class="AdwPreferencesGroup">
				<property name="title" translatable="yes">Panel Appearance</property>
				<child>
					<object class="AdwActionRow" id="background_color_row">
						<property name="title" translatable="yes">Background Color</property>
						<child type="suffix">
							<object class="GtkColorDialogButton" id="background_color">
								<property name="valign">center</property>
								<property name="dialog">
									<object class="GtkColorDialog">
										<property name="with_alpha">True</property>
									</object>
								</property>
							</object>
						</child>
					</object>
				</child>
				<child>
					<object class="AdwSpinRow" id="background_border_radius">
						<property name="title" translatable="yes">Background Border Radius</property>
						<property name="subtitle" translatable="yes">The corner radius of the main switcher window</property>
						<property name="adjustment">
							<object class="GtkAdjustment">
								<property name="lower">0</property>
								<property name="upper">100</property>
								<property name="step_increment">1</property>
								<property name="value">24</property>
							</object>
						</property>
					</object>
				</child>
				<child>
					<object class="AdwSpinRow" id="container_padding">
						<property name="title" translatable="yes">Container Padding</property>
						<property name="adjustment">
							<object class="GtkAdjustment">
								<property name="lower">0</property>
								<property name="upper">100</property>
								<property name="step_increment">1</property>
								<property name="value">24</property>
							</object>
						</property>
					</object>
				</child>
				<child>
					<object class="AdwSpinRow" id="border_size">
						<property name="title" translatable="yes">Border Size</property>
						<property name="adjustment">
							<object class="GtkAdjustment">
								<property name="lower">0</property>
								<property name="upper">20</property>
								<property name="step_increment">1</property>
								<property name="value">2</property>
							</object>
						</property>
					</object>
				</child>
				<child>
					<object class="AdwActionRow" id="border_color_row">
						<property name="title" translatable="yes">Border Color</property>
						<child type="suffix">
							<object class="GtkColorDialogButton" id="border_color">
								<property name="valign">center</property>
								<property name="dialog">
									<object class="GtkColorDialog">
										<property name="with_alpha">True</property>
									</object>
								</property>
							</object>
						</child>
					</object>
				</child>
			</object>
		</child>

		<child>
			<object class="AdwPreferencesGroup">
				<property name="title" translatable="yes">Icons</property>
				<child>
					<object class="AdwSpinRow" id="icon_spacing">
						<property name="title" translatable="yes">Icon Spacing</property>
						<property name="adjustment">
							<object class="GtkAdjustment">
								<property name="lower">0</property>
								<property name="upper">100</property>
								<property name="step_increment">1</property>
								<property name="value">10</property>
							</object>
						</property>
					</object>
				</child>
				<child>
					<object class="AdwSpinRow" id="icon_border_radius">
						<property name="title" translatable="yes">Icon Border Radius</property>
						<property name="subtitle" translatable="yes">The corner radius of the application icons</property>
						<property name="adjustment">
							<object class="GtkAdjustment">
								<property name="lower">0</property>
								<property name="upper">100</property>
								<property name="step_increment">1</property>
								<property name="value">16</property>
							</object>
						</property>
					</object>
				</child>
			</object>
		</child>

		<child>
			<object class="AdwPreferencesGroup">
				<property name="title" translatable="yes">Hover Effect</property>
				<child>
					<object class="AdwSpinRow" id="hover_shade_level">
						<property name="title" translatable="yes">Brightness level</property>
						<property name="subtitle" translatable="yes">Darker (&lt; 0) or lighter (&gt; 0) hover effect (-1.0 to 1.0)</property>
						<property name="adjustment">
							<object class="GtkAdjustment">
								<property name="lower">-1</property>
								<property name="upper">1</property>
								<property name="step_increment">0.05</property>
								<property name="page_increment">0.1</property>
								<property name="value">0.5</property>
							</object>
						</property>
						<property name="digits">2</property>
					</object>
				</child>
				<child>
					<object class="AdwSpinRow" id="hover_opacity">
						<property name="title" translatable="yes">Opacity</property>
						<property name="subtitle" translatable="yes">Transparency of the hover effect (0.0 to 1.0)</property>
						<property name="adjustment">
							<object class="GtkAdjustment">
								<property name="lower">0</property>
								<property name="upper">1</property>
								<property name="step_increment">0.05</property>
								<property name="page_increment">0.1</property>
								<property name="value">0.8</property>
							</object>
						</property>
						<property name="digits">2</property>
					</object>
				</child>
				<child>
					<object class="AdwSpinRow" id="hover_border_width">
						<property name="title" translatable="yes">Border width</property>
						<property name="adjustment">
							<object class="GtkAdjustment">
								<property name="lower">0</property>
								<property name="upper">20</property>
								<property name="step_increment">1</property>
								<property name="value">3</property>
							</object>
						</property>
					</object>
				</child>
				<child>
					<object class="AdwSpinRow" id="hover_glow_size">
						<property name="title" translatable="yes">Glow size</property>
						<property name="adjustment">
							<object class="GtkAdjustment">
								<property name="lower">0</property>
								<property name="upper">30</property>
								<property name="step_increment">1</property>
								<property name="value">20</property>
							</object>
						</property>
					</object>
				</child>
			</object>
		</child>

		<child>
			<object class="AdwPreferencesGroup">
				<child>
					<object class="GtkButton" id="reset_button">
						<property name="label" translatable="yes">Reset</property>
						<property name="halign">center</property>
						<property name="margin_top">20</property>
						<property name="margin_bottom">20</property>
						<style>
							<class name="destructive-action"/>
						</style>
					</object>
				</child>
			</object>
		</child>
	</object>
</interface>
