<?xml version="1.0" encoding="UTF-8"?>

<fields>		
		<fieldset name="gallery_options" label="Gallery Options" icon="eg-icon-cog-alt">
				
				<field name="tiles_include_padding" 
					type="boolean"
					default="true" 
					label="Set Initial Padding Sides"
					description="To set initial sides padding equal to space between thumbs.">	
				</field>
				
				<field name="theme_gallery_padding" 
					type="text"
					default="0" 
					label="Padding Sides Addition"
					unit="px"
					description="The padding from the sides of the gallery, in addition to initial padding if exists."></field>

				<field name="tiles_set_initial_height" 
					type="boolean"
					default="true" 
					label="Set Initial Height"
					description="Set gallery initial estimated height before tiles are placed(in case that scrollbar don't exists, to avoid jumps)"></field>			
				
				<field type="hr"></field>
				
				<field name="tiles_col_width" 
					type="text"
					default="250" 
					label="Tiles Column Width"
					unit="px"
					description="Column width of the tiles gallery. In case of dynamic tiles width this width will be the base width, and the angorytm will count the optimal column width for every gallery size"></field>
				
				<field name="tiles_space_between_cols" 
					type="text"
					default="3" 
					label="Space Between Columns"
					unit="px"
					description="Space between columns. Horizontal and vertical space"></field>

				<field name="tiles_space_between_cols_mobile" 
					type="text"
					default="3" 
					label="Space Between Columns Mobile Size"
					unit="px"
					description="Space between columns. Horizontal and vertical space on mobile gallery size (under 480px))">
				</field>
				
				<field name="tiles_exact_width" 
					type="boolean"
					default="false" 
					label="Exact Tiles Width"
					description="The tiles width can be dynamic or exact. In case of dynamic, they will be justified to gallery width.">	
				</field>
				
				<field name="tiles_min_columns" 
					type="text"
					default="2" 
					label="Minimum number of columns"
					unit="cols"
					description="The minimum number of columns.">
				</field>
				
				<field name="tiles_max_columns" 
					type="text"
					default="0" 
					label="Maximum Number of Columns"
					unit="cols"
					description="Maximum number of columns. 0 for unlimited.">
				</field>
				
				<field type="hr"></field>
				
				<field name="theme_enable_preloader" 
					type="boolean"
					default="true" 
					label="&lt;b&gt;Show Gallery Preloader&lt;/b&gt;"
					description="show gallery preloader, to show before first tile place"></field>
				
				<field type="bulk_control_start"
					parent="theme_enable_preloader"
					ctype="show" 
					value="true" />
				
					<field name="theme_preloading_height" 
						type="text"
						default="200" 
						label="&amp;nbsp; Preloading Area Height"
						unit="px"
						description="The height of the preloading area"></field>
					
					<field name="theme_preloader_vertpos" 
						type="text"
						default="100" 
						label="&amp;nbsp; Preloader Circle Y Pos"
						unit="px"
						description="The y position of the preloading circle"></field>
				
				<field type="bulk_control_end"/>
				
				<field type="hr"></field>
				
				<field name="tiles_enable_transition" 
					type="boolean"
					default="true" 
					label="Enable Transition"
					description="Enable transition on width resize"></field>
				
				<field name="theme_appearance_order" 
					type="list"
					default="normal" 
					label="Appearance Order"
					description="The appearance order of the tiles. &lt;br&gt;&lt;br&gt; Optimal - optimal and fastest layout. The order will be closed to original, though not the same. &lt;br&gt;&lt;br&gt;  Shuffle - the tiles will be shuffled once in start. &lt;br&gt; &lt;br&gt; Keep Order - the order will be kept, but the layout will be not optimal at the bottom">
						<option value="normal" text="Optimal"></option>
						<option value="shuffle" text="Shuffle"></option>
						<option value="keep" text="Keep Order"></option>
				</field>
				
				<field type="hr"></field>
				
				<field name="theme_open_lightbox_at_start" 
					type="boolean"
					default="false"
					label="&lt;b&gt;Open Lightbox At Start&lt;/b&gt;"
					description="Open lightbox at page init">
				</field>
				
				<field name="theme_auto_open" 
					type="text"
					default="0" 
					label="&amp;nbsp; Open Lightbox At Tile"
					unit="tile number"
					description="Enter the tile index that the lightbox will be open at start">
				</field>
				
				<field type="control" 
					parent="theme_open_lightbox_at_start"
					ctype="show" 
					child="theme_auto_open"
					value="true"
				/>
									
		</fieldset>
		
</fields>