<?xml version="1.0" encoding="UTF-8"?>

<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import org.cryptomator.ui.controls.FontAwesome5IconView?>
<TabPane xmlns="http://javafx.com/javafx"
		 xmlns:fx="http://javafx.com/fxml"
		 fx:id="tabPane"
		 fx:controller="org.cryptomator.ui.preferences.PreferencesController"
		 minWidth="-Infinity"
		 maxWidth="-Infinity"
		 prefWidth="500"
		 tabMinWidth="60"
		 tabClosingPolicy="UNAVAILABLE"
		 tabDragPolicy="FIXED">
	<tabs>
		<Tab fx:id="generalTab" id="GENERAL" text="%preferences.general">
			<graphic>
				<FontAwesome5IconView glyph="WRENCH"/>
			</graphic>
			<content>
				<fx:include source="/fxml/preferences_general.fxml"/>
			</content>
		</Tab>
		<Tab fx:id="volumeTab" id="VOLUME" text="%preferences.volume">
			<graphic>
				<FontAwesome5IconView glyph="HDD"/>
			</graphic>
			<content>
				<fx:include source="/fxml/preferences_volume.fxml"/>
			</content>
		</Tab>
		<Tab fx:id="updatesTab" id="UPDATES" text="%preferences.updates">
			<graphic>
				<FontAwesome5IconView glyph="SYNC"/>
			</graphic>
			<content>
				<fx:include source="/fxml/preferences_updates.fxml"/>
			</content>
		</Tab>
		<Tab fx:id="donationKeyTab" id="DONATION_KEY" text="%preferences.donationKey">
			<graphic>
				<FontAwesome5IconView glyph="HEART"/>
			</graphic>
			<content>
				<fx:include source="/fxml/preferences_donationkey.fxml"/>
			</content>
		</Tab>
		<Tab fx:id="aboutTab" id="ABOUT" text="%preferences.about">
			<graphic>
				<FontAwesome5IconView glyph="INFO_CIRCLE"/>
			</graphic>
			<content>
				<fx:include source="/fxml/preferences_about.fxml"/>
			</content>
		</Tab>
	</tabs>
</TabPane>
