From 60b4660245ecc9937fdb6f10f302dd2d5d7611fc Mon Sep 17 00:00:00 2001 From: Yoshi Askharoun Date: Sat, 23 Oct 2021 21:51:51 -0500 Subject: [PATCH] Actually fixed AbstractUI binding --- .../Themes/AbstractBooleanStyle.xaml | 19 ++++++++++--------- .../Themes/AbstractButtonStyle.xaml | 1 + .../Themes/AbstractDataListStyle.xaml | 1 + .../AbstractMultiChoiceUIElementStyle.xaml | 1 + .../AbstractProgressUIElementStyle.xaml | 1 + .../Themes/AbstractRichTextBlockStyle.xaml | 1 + .../Themes/AbstractTextBoxStyle.xaml | 1 + .../Themes/AbstractUIGroupPresenterStyle.xaml | 14 +++++++------- 8 files changed, 23 insertions(+), 16 deletions(-) diff --git a/OwlCore.Wpf/AbstractUI/Themes/AbstractBooleanStyle.xaml b/OwlCore.Wpf/AbstractUI/Themes/AbstractBooleanStyle.xaml index 688283b..91d873d 100644 --- a/OwlCore.Wpf/AbstractUI/Themes/AbstractBooleanStyle.xaml +++ b/OwlCore.Wpf/AbstractUI/Themes/AbstractBooleanStyle.xaml @@ -13,23 +13,23 @@ - + ToolTipService.ToolTip="{Binding TooltipText, Mode=OneWay}" + Visibility="{Binding Title, TargetNullValue=Collapsed, Mode=OneWay}" /> - + Visibility="{Binding Subtitle, TargetNullValue=Collapsed}"/> - + - + @@ -42,6 +42,7 @@ diff --git a/OwlCore.Wpf/AbstractUI/Themes/AbstractButtonStyle.xaml b/OwlCore.Wpf/AbstractUI/Themes/AbstractButtonStyle.xaml index 245f076..5937971 100644 --- a/OwlCore.Wpf/AbstractUI/Themes/AbstractButtonStyle.xaml +++ b/OwlCore.Wpf/AbstractUI/Themes/AbstractButtonStyle.xaml @@ -61,6 +61,7 @@ diff --git a/OwlCore.Wpf/AbstractUI/Themes/AbstractDataListStyle.xaml b/OwlCore.Wpf/AbstractUI/Themes/AbstractDataListStyle.xaml index af7c25c..01250bd 100644 --- a/OwlCore.Wpf/AbstractUI/Themes/AbstractDataListStyle.xaml +++ b/OwlCore.Wpf/AbstractUI/Themes/AbstractDataListStyle.xaml @@ -190,6 +190,7 @@ diff --git a/OwlCore.Wpf/AbstractUI/Themes/AbstractMultiChoiceUIElementStyle.xaml b/OwlCore.Wpf/AbstractUI/Themes/AbstractMultiChoiceUIElementStyle.xaml index 61a9e15..92c5161 100644 --- a/OwlCore.Wpf/AbstractUI/Themes/AbstractMultiChoiceUIElementStyle.xaml +++ b/OwlCore.Wpf/AbstractUI/Themes/AbstractMultiChoiceUIElementStyle.xaml @@ -67,6 +67,7 @@ diff --git a/OwlCore.Wpf/AbstractUI/Themes/AbstractProgressUIElementStyle.xaml b/OwlCore.Wpf/AbstractUI/Themes/AbstractProgressUIElementStyle.xaml index 03d3d37..091dd46 100644 --- a/OwlCore.Wpf/AbstractUI/Themes/AbstractProgressUIElementStyle.xaml +++ b/OwlCore.Wpf/AbstractUI/Themes/AbstractProgressUIElementStyle.xaml @@ -30,6 +30,7 @@ diff --git a/OwlCore.Wpf/AbstractUI/Themes/AbstractRichTextBlockStyle.xaml b/OwlCore.Wpf/AbstractUI/Themes/AbstractRichTextBlockStyle.xaml index d381471..b3a2701 100644 --- a/OwlCore.Wpf/AbstractUI/Themes/AbstractRichTextBlockStyle.xaml +++ b/OwlCore.Wpf/AbstractUI/Themes/AbstractRichTextBlockStyle.xaml @@ -29,6 +29,7 @@ diff --git a/OwlCore.Wpf/AbstractUI/Themes/AbstractTextBoxStyle.xaml b/OwlCore.Wpf/AbstractUI/Themes/AbstractTextBoxStyle.xaml index 412b7c8..1d01f59 100644 --- a/OwlCore.Wpf/AbstractUI/Themes/AbstractTextBoxStyle.xaml +++ b/OwlCore.Wpf/AbstractUI/Themes/AbstractTextBoxStyle.xaml @@ -38,6 +38,7 @@ diff --git a/OwlCore.Wpf/AbstractUI/Themes/AbstractUIGroupPresenterStyle.xaml b/OwlCore.Wpf/AbstractUI/Themes/AbstractUIGroupPresenterStyle.xaml index 03d3251..80ea498 100644 --- a/OwlCore.Wpf/AbstractUI/Themes/AbstractUIGroupPresenterStyle.xaml +++ b/OwlCore.Wpf/AbstractUI/Themes/AbstractUIGroupPresenterStyle.xaml @@ -23,43 +23,43 @@ - + - + - + - + - + - + - +