Skip to content

Portable Tool for an Ideal Windows Setup

-added arrow for lang combox

Greedeksb45b4f2cf982
diff --git a/.Source/GTweak/Styles/ComboBox.xaml b/.Source/GTweak/Styles/ComboBox.xaml
index f5ac2837..77700b16 100644
--- a/.Source/GTweak/Styles/ComboBox.xaml
+++ b/.Source/GTweak/Styles/ComboBox.xaml
@@ -9,11 +9,23 @@
</Grid.ColumnDefinitions>
<Border
x:Name="Border"
+ Grid.Column="0"
Grid.ColumnSpan="2"
CornerRadius="2"
Background="{StaticResource Color_Background_Dark}"
BorderBrush="{StaticResource Color_Accent}"
BorderThickness="1" />
+ <Path
+ x:Name="Arrow"
+ Margin="0 0 4 0"
+ Grid.Column="1"
+ Fill="White"
+ Width="10" Height="6"
+ Stretch="Fill"
+ HorizontalAlignment="Center"
+ VerticalAlignment="Center"
+ Data="M7 10l5 5 5-5z">
+ </Path>
</Grid>
</ControlTemplate>
@@ -67,7 +79,6 @@
AllowsTransparency="True"
Focusable="False"
PopupAnimation="Slide">
-
<Grid Name="DropDown"
SnapsToDevicePixels="True"
MinWidth="{TemplateBinding ActualWidth}"
diff --git a/.Source/GTweak/Windows/MainWindow.xaml b/.Source/GTweak/Windows/MainWindow.xaml
index 8af6c112..f7ba552e 100644
--- a/.Source/GTweak/Windows/MainWindow.xaml
+++ b/.Source/GTweak/Windows/MainWindow.xaml
@@ -171,8 +171,8 @@
<uс:ToggleButton x:Name="BtnTopMost" VerticalAlignment="Top" Height="25" DynamicText="{DynamicResource btgl_toast_main}" Margin="40,20,0,0" ChangedState="BtnTopMost_ChangedState"/>
<StackPanel Orientation="Horizontal" Height="45" VerticalAlignment="Top" Margin="40,20,0,0">
- <TextBlock Style="{StaticResource Text_In}" Foreground="#ffffff" Margin="0,0,0,0" Text="{DynamicResource cmbox_lang_main}"/>
- <ComboBox x:Name="LanguageSelectionMenu" Height="25" Width="170" Margin="10,-5,0,0" SelectionChanged="LanguageSelectionMenu_SelectionChanged" >
+ <TextBlock Style="{StaticResource Text_In}" Foreground="#ffffff" Text="{DynamicResource cmbox_lang_main}"/>
+ <ComboBox x:Name="LanguageSelectionMenu" Height="25" Width="155" Margin="10,-5,0,0" SelectionChanged="LanguageSelectionMenu_SelectionChanged" >
<TextBlock Text="{DynamicResource cmbox_eng_main}"/>
<TextBlock Text="{DynamicResource cmbox_ru_main}"/>
</ComboBox>