Skip to content

Commit 1b69320

Browse files
committed
Add TODOs to fix crashes & compability
1 parent 119ff61 commit 1b69320

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Flow.Launcher/App.xaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
x:Class="Flow.Launcher.App"
33
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5+
xmlns:sys="clr-namespace:System;assembly=mscorlib"
56
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
67
ShutdownMode="OnMainWindowClose"
78
Startup="OnStartup">
@@ -33,6 +34,10 @@
3334
<ResourceDictionary Source="pack://application:,,,/Themes/Win11Light.xaml" />
3435
<ResourceDictionary Source="pack://application:,,,/Languages/en.xaml" />
3536
</ResourceDictionary.MergedDictionaries>
37+
38+
<!-- // TODO: Make it work? How can I use them to override values of resources of ui:XamlControlsResources? -->
39+
<Thickness x:Key="ListViewItemCompactSelectedBorderThemeThickness">0</Thickness>
40+
<sys:Double x:Key="CheckBoxMinWidth">0</sys:Double>
3641
</ResourceDictionary>
3742
</Application.Resources>
3843
</Application>

Flow.Launcher/Resources/CustomControlTemplate.xaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,12 @@
173173
</Setter>
174174
</Style>
175175

176+
<!-- // TODO: Make it work? How can I apply MinWidth to all ui:NumberBox? -->
177+
<!-- Number Box -->
178+
<Style TargetType="ui:NumberBox">
179+
<Setter Property="MinWidth" Value="120" />
180+
</Style>
181+
176182
<!-- Toggle Button -->
177183
<Style x:Key="CustomToggleButtonStyle" TargetType="ToggleButton">
178184
<Setter Property="OverridesDefaultStyle" Value="True" />

0 commit comments

Comments
 (0)