Ver Fonte

New setting to adjust number of gallery thumbnails being shown

Ruben há 2 anos atrás
pai
commit
db794005ed

+ 6 - 0
src/PicView/App.config

@@ -100,6 +100,12 @@
             <setting name="ShowBottomNavBar" serializeAs="String">
                 <value>True</value>
             </setting>
+            <setting name="BottomGalleryItems" serializeAs="String">
+                <value>37</value>
+            </setting>
+            <setting name="ExpandedGalleryItems" serializeAs="String">
+                <value>23</value>
+            </setting>
         </PicView.Properties.Settings>
     </userSettings>
 </configuration>

+ 187 - 157
src/PicView/Properties/Settings.Designer.cs

@@ -8,14 +8,20 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
+using System.CodeDom.Compiler;
+using System.Configuration;
+using System.Diagnostics;
+using System.Runtime.CompilerServices;
+using System.Windows.Media;
+
 namespace PicView.Properties {
     
     
-    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
-    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.6.0.0")]
-    public sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+    [CompilerGenerated()]
+    [GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.5.0.0")]
+    public sealed partial class Settings : ApplicationSettingsBase {
         
-        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+        private static Settings defaultInstance = ((Settings)(Synchronized(new Settings())));
         
         public static Settings Default {
             get {
@@ -23,141 +29,141 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#1a8cf0")]
-        public global::System.Windows.Media.Color Blue {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#1a8cf0")]
+        public Color Blue {
             get {
-                return ((global::System.Windows.Media.Color)(this["Blue"]));
+                return ((Color)(this["Blue"]));
             }
             set {
                 this["Blue"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#FFE68BEE")]
-        public global::System.Windows.Media.Color Pink {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#FFE68BEE")]
+        public Color Pink {
             get {
-                return ((global::System.Windows.Media.Color)(this["Pink"]));
+                return ((Color)(this["Pink"]));
             }
             set {
                 this["Pink"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#FFDB5B3D")]
-        public global::System.Windows.Media.Color Orange {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#FFDB5B3D")]
+        public Color Orange {
             get {
-                return ((global::System.Windows.Media.Color)(this["Orange"]));
+                return ((Color)(this["Orange"]));
             }
             set {
                 this["Orange"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#20E76B")]
-        public global::System.Windows.Media.Color Green {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#20E76B")]
+        public Color Green {
             get {
-                return ((global::System.Windows.Media.Color)(this["Green"]));
+                return ((Color)(this["Green"]));
             }
             set {
                 this["Green"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#FFF91110")]
-        public global::System.Windows.Media.Color Red {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#FFF91110")]
+        public Color Red {
             get {
-                return ((global::System.Windows.Media.Color)(this["Red"]));
+                return ((Color)(this["Red"]));
             }
             set {
                 this["Red"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#FF36E6CC")]
-        public global::System.Windows.Media.Color Aqua {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#FF36E6CC")]
+        public Color Aqua {
             get {
-                return ((global::System.Windows.Media.Color)(this["Aqua"]));
+                return ((Color)(this["Aqua"]));
             }
             set {
                 this["Aqua"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#FFFEA955")]
-        public global::System.Windows.Media.Color Golden {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#FFFEA955")]
+        public Color Golden {
             get {
-                return ((global::System.Windows.Media.Color)(this["Golden"]));
+                return ((Color)(this["Golden"]));
             }
             set {
                 this["Golden"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#FF44A1A0")]
-        public global::System.Windows.Media.Color Teal {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#FF44A1A0")]
+        public Color Teal {
             get {
-                return ((global::System.Windows.Media.Color)(this["Teal"]));
+                return ((Color)(this["Teal"]));
             }
             set {
                 this["Teal"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#FF9738EB")]
-        public global::System.Windows.Media.Color Purple {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#FF9738EB")]
+        public Color Purple {
             get {
-                return ((global::System.Windows.Media.Color)(this["Purple"]));
+                return ((Color)(this["Purple"]));
             }
             set {
                 this["Purple"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#FF1BA1E2")]
-        public global::System.Windows.Media.Color Cyan {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#FF1BA1E2")]
+        public Color Cyan {
             get {
-                return ((global::System.Windows.Media.Color)(this["Cyan"]));
+                return ((Color)(this["Cyan"]));
             }
             set {
                 this["Cyan"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#FF22CB97")]
-        public global::System.Windows.Media.Color Lime {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#FF22CB97")]
+        public Color Lime {
             get {
-                return ((global::System.Windows.Media.Color)(this["Lime"]));
+                return ((Color)(this["Lime"]));
             }
             set {
                 this["Lime"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("True")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("True")]
         public bool CallUpgrade {
             get {
                 return ((bool)(this["CallUpgrade"]));
@@ -167,21 +173,21 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("#FFFF35C5")]
-        public global::System.Windows.Media.Color Magenta {
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("#FFFF35C5")]
+        public Color Magenta {
             get {
-                return ((global::System.Windows.Media.Color)(this["Magenta"]));
+                return ((Color)(this["Magenta"]));
             }
             set {
                 this["Magenta"] = value;
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("False")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("False")]
         public bool ScrollEnabled {
             get {
                 return ((bool)(this["ScrollEnabled"]));
@@ -191,9 +197,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("True")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("True")]
         public bool ShowInterface {
             get {
                 return ((bool)(this["ShowInterface"]));
@@ -203,9 +209,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("0")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("0")]
         public int SortPreference {
             get {
                 return ((int)(this["SortPreference"]));
@@ -215,9 +221,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("5000")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("5000")]
         public double SlideTimer {
             get {
                 return ((double)(this["SlideTimer"]));
@@ -227,9 +233,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("False")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("False")]
         public bool Looping {
             get {
                 return ((bool)(this["Looping"]));
@@ -239,9 +245,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("0")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("0")]
         public int BgColorChoice {
             get {
                 return ((int)(this["BgColorChoice"]));
@@ -251,9 +257,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("True")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("True")]
         public bool AutoFitWindow {
             get {
                 return ((bool)(this["AutoFitWindow"]));
@@ -263,9 +269,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("False")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("False")]
         public bool FillImage {
             get {
                 return ((bool)(this["FillImage"]));
@@ -275,9 +281,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("0")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("0")]
         public double Top {
             get {
                 return ((double)(this["Top"]));
@@ -287,9 +293,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("0")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("0")]
         public double Left {
             get {
                 return ((double)(this["Left"]));
@@ -299,9 +305,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("0")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("0")]
         public double Height {
             get {
                 return ((double)(this["Height"]));
@@ -311,9 +317,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("0")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("0")]
         public double Width {
             get {
                 return ((double)(this["Width"]));
@@ -323,9 +329,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("False")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("False")]
         public bool Fullscreen {
             get {
                 return ((bool)(this["Fullscreen"]));
@@ -335,9 +341,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("False")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("False")]
         public bool IncludeSubDirectories {
             get {
                 return ((bool)(this["IncludeSubDirectories"]));
@@ -347,9 +353,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("True")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("True")]
         public bool DarkTheme {
             get {
                 return ((bool)(this["DarkTheme"]));
@@ -359,9 +365,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("en")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("en")]
         public string UserLanguage {
             get {
                 return ((string)(this["UserLanguage"]));
@@ -371,9 +377,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("True")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("True")]
         public bool ShowAltInterfaceButtons {
             get {
                 return ((bool)(this["ShowAltInterfaceButtons"]));
@@ -383,9 +389,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("3")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("3")]
         public int ColorTheme {
             get {
                 return ((int)(this["ColorTheme"]));
@@ -395,9 +401,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("0.2")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("0.2")]
         public double ZoomSpeed {
             get {
                 return ((double)(this["ZoomSpeed"]));
@@ -407,9 +413,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("False")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("False")]
         public bool TopMost {
             get {
                 return ((bool)(this["TopMost"]));
@@ -419,9 +425,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("False")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("False")]
         public bool KeepCentered {
             get {
                 return ((bool)(this["KeepCentered"]));
@@ -431,9 +437,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("True")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("True")]
         public bool CtrlZoom {
             get {
                 return ((bool)(this["CtrlZoom"]));
@@ -443,9 +449,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("True")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("True")]
         public bool Ascending {
             get {
                 return ((bool)(this["Ascending"]));
@@ -455,9 +461,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("True")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("True")]
         public bool HorizontalReverseScroll {
             get {
                 return ((bool)(this["HorizontalReverseScroll"]));
@@ -467,9 +473,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("False")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("False")]
         public bool AvoidZoomingOut {
             get {
                 return ((bool)(this["AvoidZoomingOut"]));
@@ -479,9 +485,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("0.7")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("0.7")]
         public double NavSpeed {
             get {
                 return ((double)(this["NavSpeed"]));
@@ -491,9 +497,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("False")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("False")]
         public bool FullscreenGallery {
             get {
                 return ((bool)(this["FullscreenGallery"]));
@@ -503,9 +509,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("True")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("True")]
         public bool IsTaskbarProgressEnabled {
             get {
                 return ((bool)(this["IsTaskbarProgressEnabled"]));
@@ -515,9 +521,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("True")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("True")]
         public bool ShowFileSavingDialog {
             get {
                 return ((bool)(this["ShowFileSavingDialog"]));
@@ -527,9 +533,9 @@ namespace PicView.Properties {
             }
         }
         
-        [global::System.Configuration.UserScopedSettingAttribute()]
-        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
-        [global::System.Configuration.DefaultSettingValueAttribute("True")]
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("True")]
         public bool ShowBottomNavBar {
             get {
                 return ((bool)(this["ShowBottomNavBar"]));
@@ -538,5 +544,29 @@ namespace PicView.Properties {
                 this["ShowBottomNavBar"] = value;
             }
         }
+        
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("37")]
+        public int BottomGalleryItems {
+            get {
+                return ((int)(this["BottomGalleryItems"]));
+            }
+            set {
+                this["BottomGalleryItems"] = value;
+            }
+        }
+        
+        [UserScopedSetting()]
+        [DebuggerNonUserCode()]
+        [DefaultSettingValue("23")]
+        public int ExpandedGalleryItems {
+            get {
+                return ((int)(this["ExpandedGalleryItems"]));
+            }
+            set {
+                this["ExpandedGalleryItems"] = value;
+            }
+        }
     }
 }

+ 6 - 0
src/PicView/Properties/Settings.settings

@@ -131,5 +131,11 @@
     <Setting Name="ShowBottomNavBar" Type="System.Boolean" Scope="User">
       <Value Profile="(Default)">True</Value>
     </Setting>
+    <Setting Name="BottomGalleryItems" Type="System.Int32" Scope="User">
+      <Value Profile="(Default)">37</Value>
+    </Setting>
+    <Setting Name="ExpandedGalleryItems" Type="System.Int32" Scope="User">
+      <Value Profile="(Default)">23</Value>
+    </Setting>
   </Settings>
 </SettingsFile>

+ 2 - 0
src/PicView/Translations/da.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">Vis fremskridt i proceslinjen</system:String>
     <system:String x:Key="ShowFileSavingDialog">Vis gem fil dialogen</system:String>
     <system:String x:Key="ShowBottomToolbar">Vis værktøjslinjen i bunden</system:String>
+    <system:String x:Key="BottomGalleryItems">Galleri billeder i bunden</system:String>
+    <system:String x:Key="ExpandedGalleryItems">Udviede galleri billeder</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">Negative Farver</system:String>

+ 2 - 0
src/PicView/Translations/de.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">Fortschritt in der Taskleiste anzeigen</system:String>
     <system:String x:Key="ShowFileSavingDialog">Dateispeicherdialog anzeigen</system:String>
     <system:String x:Key="ShowBottomToolbar">Unterste Symbolleiste anzeigen</system:String>
+    <system:String x:Key="BottomGalleryItems">Anzahl der Galerieelemente unten</system:String>
+    <system:String x:Key="ExpandedGalleryItems">Erweiterte Galerieelemente</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">Negativ Farben</system:String>

+ 2 - 0
src/PicView/Translations/en.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">Display taskbar progress</system:String>
     <system:String x:Key="ShowFileSavingDialog">Show file saving dialog</system:String>
     <system:String x:Key="ShowBottomToolbar">Show bottom toolbar</system:String>
+    <system:String x:Key="BottomGalleryItems">Bottom Gallery Items</system:String>
+    <system:String x:Key="ExpandedGalleryItems">Expanded Gallery Items</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">Negative Colors</system:String>

+ 2 - 0
src/PicView/Translations/es.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">Mostrar el progreso en la barra de tareas</system:String>
     <system:String x:Key="ShowFileSavingDialog">Mostrar el cuadro de diálogo de guardar archivo</system:String>
     <system:String x:Key="ShowBottomToolbar">Mostrar barra de herramientas inferior</system:String>
+    <system:String x:Key="BottomGalleryItems">Elementos de la galería inferior</system:String>
+    <system:String x:Key="ExpandedGalleryItems">Elementos de la galería expandida</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">Negativo</system:String>

+ 2 - 0
src/PicView/Translations/fr.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">Afficher la progression dans la barre des tâches</system:String>
     <system:String x:Key="ShowFileSavingDialog">Afficher la boîte de dialogue d'enregistrement de fichier</system:String>
     <system:String x:Key="ShowBottomToolbar">Afficher la barre d'outils inférieure</system:String>
+    <system:String x:Key="BottomGalleryItems">Éléments de la galerie inférieure</system:String>
+    <system:String x:Key="ExpandedGalleryItems">Éléments de la galerie étendue</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">Couleurs négatives</system:String>

+ 2 - 0
src/PicView/Translations/it.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">Mostra progresso sulla barra delle applicazioni</system:String>
     <system:String x:Key="ShowFileSavingDialog">Mostra finestra di salvataggio file</system:String>
     <system:String x:Key="ShowBottomToolbar">Mostra la barra degli strumenti inferiore</system:String>
+    <system:String x:Key="BottomGalleryItems">Elementi galleria inferiore</system:String>
+    <system:String x:Key="ExpandedGalleryItems">Elementi galleria espansa</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">Colori negativi</system:String>

+ 2 - 0
src/PicView/Translations/ko.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">작업 표시줄 진행률 표시</system:String>
     <system:String x:Key="ShowFileSavingDialog">파일 저장 대화상자 표시</system:String>
     <system:String x:Key="ShowBottomToolbar">하단 도구 모음 표시</system:String>
+    <system:String x:Key="BottomGalleryItems">하단 갤러리 항목</system:String>
+    <system:String x:Key="ExpandedGalleryItems">확장된 갤러리 항목</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">네거티브 컬러</system:String>

+ 2 - 0
src/PicView/Translations/pl.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">Wyświetl postęp na pasku zadań</system:String>
     <system:String x:Key="ShowFileSavingDialog">Pokaż okno zapisywania pliku</system:String>
     <system:String x:Key="ShowBottomToolbar">Pokaż dolny pasek narzędzi</system:String>
+    <system:String x:Key="BottomGalleryItems">Liczba elementów na dole galerii</system:String>
+    <system:String x:Key="ExpandedGalleryItems">Rozszerzone elementy galerii</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">Przeciwne kolory</system:String>

+ 2 - 0
src/PicView/Translations/ro.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">Afișează progresul în bara de activități</system:String>
     <system:String x:Key="ShowFileSavingDialog">Afișează dialogul de salvare fișier</system:String>
     <system:String x:Key="ShowBottomToolbar">Afișează bara de instrumente de jos</system:String>
+    <system:String x:Key="BottomGalleryItems">Elemente galerie inferioară</system:String>
+    <system:String x:Key="ExpandedGalleryItems">Elemente galerie extinse</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">Culori negative</system:String>

+ 2 - 0
src/PicView/Translations/ru.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">Отображение прогресса на панели задач</system:String>
     <system:String x:Key="ShowFileSavingDialog">Показать диалоговое окно сохранения файла</system:String>
     <system:String x:Key="ShowBottomToolbar">Показать нижнюю панель инструментов</system:String>
+    <system:String x:Key="BottomGalleryItems">Количество элементов нижней галереи</system:String>
+    <system:String x:Key="ExpandedGalleryItems">Расширенные элементы галереи</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">Обратные цвета</system:String>

+ 2 - 0
src/PicView/Translations/zh_CN.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">显示任务栏进度</system:String>
     <system:String x:Key="ShowFileSavingDialog">查看文件保存对话框</system:String>
     <system:String x:Key="ShowBottomToolbar">查看底部工具栏</system:String>
+    <system:String x:Key="BottomGalleryItems">底部图库项目</system:String>
+    <system:String x:Key="ExpandedGalleryItems">展开的图库项目</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">反色</system:String>

+ 2 - 0
src/PicView/Translations/zh_TW.xaml

@@ -127,6 +127,8 @@
     <system:String x:Key="ToggleTaskbarProgress">顯示工作列進度</system:String>
     <system:String x:Key="ShowFileSavingDialog">顯示檔案儲存對話方塊</system:String>
     <system:String x:Key="ShowBottomToolbar">查看底部工具列</system:String>
+    <system:String x:Key="BottomGalleryItems">底部圖庫項目</system:String>
+    <system:String x:Key="ExpandedGalleryItems">展開的圖庫項目</system:String>
 
     <!--  Effects Window  -->
     <system:String x:Key="NegativeColors">負片</system:String>

+ 84 - 7
src/PicView/Views/Windows/SettingsWindow.xaml

@@ -296,8 +296,7 @@
 
                     <RadioButton
                         x:Name="CtrlZoom"
-                        Margin="0,0,0,5"
-                        Padding="5,0,0,0"
+                        Margin="5,0,6,5"
                         d:IsChecked="True"
                         BorderThickness="0"
                         Focusable="False"
@@ -306,7 +305,7 @@
                             <SolidColorBrush x:Name="CtrlZoomText" Color="{StaticResource MainColor}" />
                         </RadioButton.Foreground>
                         <TextBlock
-                            Width="270"
+                            Width="275"
                             Focusable="False"
                             FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto"
                             Text="{StaticResource CtrlToZoom}"
@@ -315,14 +314,14 @@
 
                     <RadioButton
                         x:Name="ScrollZoom"
-                        Padding="5,0,0,0"
+                        Margin="5,0,6,5"
                         Focusable="False"
                         FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto">
                         <RadioButton.Foreground>
                             <SolidColorBrush x:Name="ScrollZoomText" Color="{StaticResource MainColor}" />
                         </RadioButton.Foreground>
                         <TextBlock
-                            Width="270"
+                            Width="275"
                             Focusable="False"
                             FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto"
                             Text="{StaticResource ScrollToZoom}"
@@ -559,10 +558,10 @@
                         Content="{StaticResource HighlightColor}" />
 
                     <WrapPanel
-                        Margin="5,3,5,8"
+                        Margin="0,3,0,8"
                         HorizontalAlignment="Center"
                         VerticalAlignment="Top"
-                        ItemWidth="146"
+                        ItemWidth="151"
                         Orientation="Horizontal">
 
                         <RadioButton
@@ -710,6 +709,84 @@
                         </RadioButton>
                     </WrapPanel>
 
+                    <Label
+                        Margin="0,10,0,4"
+                        HorizontalAlignment="Left"
+                        VerticalAlignment="Center"
+                        Content="{StaticResource ExpandedGalleryItems}" />
+
+                    <StackPanel
+                        Margin="0,3,0,5"
+                        HorizontalAlignment="Left"
+                        VerticalAlignment="Top"
+                        Orientation="Horizontal">
+
+                        <Slider
+                            x:Name="SetExpandedGallerySlider"
+                            Width="245"
+                            Height="30"
+                            d:Value="32"
+                            IsMoveToPointEnabled="True"
+                            IsSnapToTickEnabled="True"
+                            Maximum="35"
+                            Minimum="10"
+                            TickFrequency="1"
+                            TickPlacement="BottomRight" />
+
+                        <TextBox
+                            x:Name="SetExpandedGalleryText"
+                            Width="50"
+                            Margin="5,3"
+                            Padding="0,4,0,4"
+                            VerticalAlignment="Center"
+                            d:Text="2"
+                            FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto Bold"
+                            FontSize="12"
+                            IsReadOnly="True"
+                            IsTabStop="False"
+                            Text="{Binding ElementName=SetExpandedGallerySlider, Path=Value}"
+                            TextAlignment="Center" />
+                    </StackPanel>
+
+                    <Label
+                        Margin="0,10,0,4"
+                        HorizontalAlignment="Left"
+                        VerticalAlignment="Center"
+                        Content="{StaticResource BottomGalleryItems}" />
+
+                    <StackPanel
+                        Margin="5,3,0,5"
+                        HorizontalAlignment="Left"
+                        VerticalAlignment="Top"
+                        Orientation="Horizontal">
+
+                        <Slider
+                            x:Name="SetBottomGallerySlider"
+                            Width="240"
+                            Height="30"
+                            d:Value="32"
+                            IsMoveToPointEnabled="True"
+                            IsSnapToTickEnabled="True"
+                            Maximum="50"
+                            Minimum="20"
+                            TickFrequency="1"
+                            TickPlacement="BottomRight" />
+
+                        <TextBox
+                            x:Name="SetBottomGalleryText"
+                            Width="50"
+                            Margin="5,3"
+                            Padding="0,4,0,4"
+                            VerticalAlignment="Center"
+                            d:Text="2"
+                            FontFamily="/PicView;component/Themes/Resources/fonts/#Roboto Bold"
+                            FontSize="12"
+                            IsReadOnly="True"
+                            IsTabStop="False"
+                            Text="{Binding ElementName=SetExpandedGallerySlider, Path=Value}"
+                            TextAlignment="Center" />
+                    </StackPanel>
+
                     <Label
                         Margin="0,10,0,0"
                         HorizontalAlignment="Center"

+ 32 - 2
src/PicView/Views/Windows/SettingsWindow.xaml.cs

@@ -15,6 +15,7 @@ using System.Windows.Controls;
 using System.Windows.Input;
 using System.Windows.Media;
 using System.Windows.Media.Animation;
+using PicView.PicGallery;
 using static PicView.Animations.MouseOverAnimations;
 using static PicView.ConfigureSettings.ConfigColors;
 
@@ -80,11 +81,40 @@ public partial class SettingsWindow
             NavTxt.Text = NavSlider.Value.ToString("0.#", CultureInfo.CurrentCulture);
             NavSlider.ValueChanged += (_, e) =>
             {
-                Settings.Default.NavSpeed = e.NewValue; NavTxt.Text =
-                    e.NewValue.ToString("0.#", CultureInfo.CurrentCulture);
+                Settings.Default.NavSpeed = e.NewValue;
+                NavTxt.Text = e.NewValue.ToString("0.#", CultureInfo.CurrentCulture);
                 Settings.Default.Save();
             };
 
+            // SetExpandedGallerySlider
+            SetExpandedGallerySlider.Value = Settings.Default.ExpandedGalleryItems;
+            SetExpandedGalleryText.Text = SetExpandedGallerySlider.Value.ToString("0.#", CultureInfo.CurrentCulture);
+            SetExpandedGallerySlider.ValueChanged += (_, e) =>
+            {
+                Settings.Default.ExpandedGalleryItems = (int)e.NewValue;
+                SetExpandedGalleryText.Text = e.NewValue.ToString("0.#", CultureInfo.CurrentCulture);
+                Settings.Default.Save();
+                if (GalleryFunctions.IsGalleryOpen)
+                {
+                    GalleryLoad.LoadLayout();
+                }
+            };
+
+            // SetBottomGallerySlider
+            SetBottomGallerySlider.Value = Settings.Default.BottomGalleryItems;
+            SetBottomGalleryText.Text = SetBottomGallerySlider.Value.ToString("0.#", CultureInfo.CurrentCulture);
+            SetBottomGallerySlider.ValueChanged += (_, e) =>
+            {
+                Settings.Default.BottomGalleryItems = (int)e.NewValue;
+                SetBottomGalleryText.Text = e.NewValue.ToString("0.#", CultureInfo.CurrentCulture);
+                Settings.Default.Save();
+                if (GalleryFunctions.IsGalleryOpen)
+                {
+                    GalleryLoad.LoadLayout();
+                    ScaleImage.TryFitImage();
+                }
+            };
+
             // Themes
             LightThemeRadio.IsChecked = !Settings.Default.DarkTheme;
             DarkThemeRadio.IsChecked = Settings.Default.DarkTheme;