Skip to content

Commit 1a51160

Browse files
committed
remove auto hiding of setting window's scrollbar
related 925f6bc, a452feb
1 parent d1addc7 commit 1a51160

File tree

6 files changed

+2
-18
lines changed

6 files changed

+2
-18
lines changed

Flow.Launcher.Infrastructure/UserSettings/Settings.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ public bool HideNotifyIcon
9999
public bool RememberLastLaunchLocation { get; set; }
100100
public bool IgnoreHotkeysOnFullscreen { get; set; }
101101

102-
public bool AutoHideScrollBar { get; set; }
103-
104102
public HttpProxy Proxy { get; set; } = new HttpProxy();
105103

106104
[JsonConverter(typeof(JsonStringEnumConverter))]

Flow.Launcher/Languages/en.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
<system:String x:Key="ignoreHotkeysOnFullscreenToolTip">Disable Flow Launcher activation when a Full screen application is active (Recommended for games).</system:String>
3636
<system:String x:Key="pythonDirectory">Python Directory</system:String>
3737
<system:String x:Key="autoUpdates">Auto Update</system:String>
38-
<system:String x:Key="autoHideScrollBar">Auto Hide Scroll Bar in Setting</system:String>
3938
<system:String x:Key="selectPythonDirectory">Select</system:String>
4039
<system:String x:Key="hideOnStartup">Hide Flow Launcher on startup</system:String>
4140
<system:String x:Key="hideNotifyIcon">Hide tray icon</system:String>

Flow.Launcher/Languages/ko.xaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
<system:String x:Key="ignoreHotkeysOnFullscreenToolTip">게이머라면 켜는 것을 추천합니다.</system:String>
3636
<system:String x:Key="pythonDirectory">Python 디렉토리</system:String>
3737
<system:String x:Key="autoUpdates">자동 업데이트</system:String>
38-
<system:String x:Key="autoHideScrollBar">설정 창 스크롤바 숨기기</system:String>
3938
<system:String x:Key="selectPythonDirectory">선택</system:String>
4039
<system:String x:Key="hideOnStartup">시작 시 Flow Launcher 숨김</system:String>
4140
<system:String x:Key="hideNotifyIcon">트레이 아이콘 숨기기</system:String>

Flow.Launcher/Languages/sk.xaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
<system:String x:Key="ignoreHotkeysOnFullscreen">Ignorovať klávesové skratky v režime na celú obrazovku</system:String>
3232
<system:String x:Key="pythonDirectory">Priečinok s Pythonom</system:String>
3333
<system:String x:Key="autoUpdates">Automatická aktualizácia</system:String>
34-
<system:String x:Key="autoHideScrollBar">Automaticky skryť posuvník</system:String>
35-
<system:String x:Key="autoHideScrollBarToolTip">Automaticky skrývať posuvník v okne nastavení a zobraziť ho, keď naň prejdete myšou</system:String>
3634
<system:String x:Key="selectPythonDirectory">Vybrať</system:String>
3735
<system:String x:Key="hideOnStartup">Schovať Flow Launcher po spustení</system:String>
3836
<system:String x:Key="hideNotifyIcon">Schovať ikonu z oblasti oznámení</system:String>

Flow.Launcher/SettingWindow.xaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@
401401
</TabItem.Header>
402402

403403
<ScrollViewer ScrollViewer.CanContentScroll="False"
404-
ui:ScrollViewerHelper.AutoHideScrollBars="{Binding AutoHideScrollBar, Mode=OneWay}"
405404
Margin="0,0,0,0" Background="#f3f3f3">
406405
<StackPanel Orientation="Vertical" Margin="5,18,25,30">
407406
<TextBlock Text="{DynamicResource general}" Grid.Row="2" TextAlignment="left" FontSize="30"
@@ -649,7 +648,7 @@
649648
ItemsSource="{Binding PluginViewModels}"
650649
Margin="5, 0, 0, 0" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
651650
ItemContainerStyle="{StaticResource PluginList}"
652-
Padding="0 0 7 0" Width="Auto" HorizontalAlignment="Stretch" SnapsToDevicePixels="True" ui:ScrollViewerHelper.AutoHideScrollBars="{Binding AutoHideScrollBar, Mode=OneWay}">
651+
Padding="0 0 7 0" Width="Auto" HorizontalAlignment="Stretch" SnapsToDevicePixels="True">
653652
<ListBox.ItemsPanel>
654653
<ItemsPanelTemplate>
655654
<StackPanel Margin="0,0,0,18"/>
@@ -902,7 +901,7 @@
902901
ItemsSource="{Binding ExternalPlugins}"
903902
Margin="6, 0, 0, 0" ScrollViewer.HorizontalScrollBarVisibility="Disabled"
904903
ItemContainerStyle="{StaticResource StoreList}" SelectionMode="Single"
905-
Padding="0 0 0 0" Width="Auto" VerticalContentAlignment="Center" HorizontalAlignment="Stretch" ui:ScrollViewerHelper.AutoHideScrollBars="{Binding AutoHideScrollBar, Mode=OneWay}">
904+
Padding="0 0 0 0" Width="Auto" VerticalContentAlignment="Center" HorizontalAlignment="Stretch">
906905
<ListBox.ItemsPanel>
907906
<ItemsPanelTemplate>
908907
<UniformGrid IsItemsHost="True" HorizontalAlignment="Left" Columns="2" Margin="0 0 6 18" VerticalAlignment="Top" SnapsToDevicePixels="True"/>
@@ -1038,7 +1037,6 @@
10381037
</TabItem.Header>
10391038
<Border Padding=" 0 0 0 0 ">
10401039
<ScrollViewer ScrollViewer.CanContentScroll="False"
1041-
ui:ScrollViewerHelper.AutoHideScrollBars="{Binding AutoHideScrollBar, Mode=OneWay}"
10421040
Margin="0,0,0,0" Background="#f3f3f3" Padding="6 0 24 0">
10431041
<Grid Margin="0 0 0 0" Background="#f3f3f3">
10441042
<Grid.RowDefinitions>
@@ -1314,7 +1312,6 @@
13141312
</Grid>
13151313
</TabItem.Header>
13161314
<ScrollViewer ScrollViewer.CanContentScroll="False"
1317-
ui:ScrollViewerHelper.AutoHideScrollBars="{Binding AutoHideScrollBar, Mode=OneWay}"
13181315
Margin="0,0,0,0" Background="#f3f3f3" Padding="0 0 6 0">
13191316
<Border Background="#f3f3f3">
13201317
<Grid Margin="5 18 18 10">
@@ -1442,7 +1439,6 @@
14421439
</Grid>
14431440
</TabItem.Header>
14441441
<ScrollViewer ScrollViewer.CanContentScroll="False"
1445-
ui:ScrollViewerHelper.AutoHideScrollBars="{Binding AutoHideScrollBar, Mode=OneWay}"
14461442
Margin="0,0,0,0" Background="#f3f3f3" Padding="5 0 24 0">
14471443
<Border Background="#f3f3f3">
14481444

Flow.Launcher/ViewModel/SettingWindowViewModel.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ public bool AutoUpdates
6363
}
6464
}
6565

66-
public bool AutoHideScrollBar
67-
{
68-
get => Settings.AutoHideScrollBar;
69-
set => Settings.AutoHideScrollBar = value;
70-
}
71-
7266
// This is only required to set at startup. When portable mode enabled/disabled a restart is always required
7367
private bool _portableMode = DataLocation.PortableDataLocationInUse();
7468
public bool PortableMode

0 commit comments

Comments
 (0)