From 309f7ee1fe4aa08ba9a7aa8b0624b9e041e3f36b Mon Sep 17 00:00:00 2001 From: DB p Date: Sun, 7 Nov 2021 21:17:55 +0900 Subject: [PATCH] - Add Combobox/Checkbox custom control template - Adjust some setting window items position/width --- .../Resources/CustomControlTemplate.xaml | 322 ++++++++++++++++-- Flow.Launcher/SettingWindow.xaml | 72 ++-- 2 files changed, 341 insertions(+), 53 deletions(-) diff --git a/Flow.Launcher/Resources/CustomControlTemplate.xaml b/Flow.Launcher/Resources/CustomControlTemplate.xaml index 41cb7d6ce..cc27d5eb5 100644 --- a/Flow.Launcher/Resources/CustomControlTemplate.xaml +++ b/Flow.Launcher/Resources/CustomControlTemplate.xaml @@ -4,6 +4,284 @@ xmlns:system="clr-namespace:System;assembly=mscorlib" xmlns:ui="http://schemas.modernwpf.com/2019"> + + + + + + + + + + + 0,0,0,4 12,6,0,6 @@ -258,16 +536,21 @@ TextWrapping="Wrap" Visibility="{TemplateBinding ui:ControlHelper.HeaderVisibility}" /> + BorderBrush="#e5e5e5" + BorderThickness="1,1,1,0" + CornerRadius="4"> + + - + @@ -388,7 +671,7 @@ - - + @@ -440,7 +722,7 @@ - + @@ -902,7 +1184,7 @@ 0:0:0.033 0:0:0.367 0.1,0.9 0.2,1.0 - + - + + - - + Visibility="{Binding ActionKeywordsVisibility}" /> @@ -1455,8 +1455,8 @@ - + @@ -1840,11 +1840,18 @@ BorderThickness="0" Style="{DynamicResource SettingGroupBox}"> - - + + - + @@ -2060,10 +2067,7 @@ - +