mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Enhance TextBox and ListBox styles in ImageInfo.xaml for improved visual consistency and user experience
This commit is contained in:
@@ -106,7 +106,11 @@
|
|||||||
<TextBox IsReadOnly="True"
|
<TextBox IsReadOnly="True"
|
||||||
TextWrapping="Wrap"
|
TextWrapping="Wrap"
|
||||||
Text="{Binding CommentsText, Mode=OneWay}"
|
Text="{Binding CommentsText, Mode=OneWay}"
|
||||||
IsVisible="{Binding !!CommentsText, Mode=OneWay}" />
|
IsVisible="{Binding !!CommentsText, Mode=OneWay}"
|
||||||
|
Background="Transparent"
|
||||||
|
BorderThickness="0"
|
||||||
|
Padding="0"
|
||||||
|
Cursor="Arrow" />
|
||||||
<controls:SpectreTextBlock Text="{x:Static localization:UI.Title_Media_information}"
|
<controls:SpectreTextBlock Text="{x:Static localization:UI.Title_Media_information}"
|
||||||
FontWeight="Bold"
|
FontWeight="Bold"
|
||||||
IsVisible="{Binding MediaInformationVisible, Mode=OneWay}" />
|
IsVisible="{Binding MediaInformationVisible, Mode=OneWay}" />
|
||||||
@@ -149,17 +153,24 @@
|
|||||||
Padding="4">
|
Padding="4">
|
||||||
<ListBox.Styles>
|
<ListBox.Styles>
|
||||||
<Style Selector="ListBoxItem">
|
<Style Selector="ListBoxItem">
|
||||||
<Setter Property="Padding" Value="8,6" />
|
<Setter Property="Padding"
|
||||||
<Setter Property="Margin" Value="2" />
|
Value="8,6" />
|
||||||
<Setter Property="CornerRadius" Value="3" />
|
<Setter Property="Margin"
|
||||||
|
Value="2" />
|
||||||
|
<Setter Property="CornerRadius"
|
||||||
|
Value="3" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="ListBoxItem:pointerover /template/ ContentPresenter">
|
<Style Selector="ListBoxItem:pointerover /template/ ContentPresenter">
|
||||||
<Setter Property="Background" Value="{DynamicResource SystemAccentColorLight2}" />
|
<Setter Property="Background"
|
||||||
<Setter Property="Foreground" Value="{DynamicResource SystemAccentColorDark3}" />
|
Value="{DynamicResource SystemAccentColorLight2}" />
|
||||||
|
<Setter Property="Foreground"
|
||||||
|
Value="{DynamicResource SystemAccentColorDark3}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="ListBoxItem:selected /template/ ContentPresenter">
|
<Style Selector="ListBoxItem:selected /template/ ContentPresenter">
|
||||||
<Setter Property="Background" Value="{DynamicResource SystemAccentColor}" />
|
<Setter Property="Background"
|
||||||
<Setter Property="Foreground" Value="{DynamicResource SystemAccentColorDark3}" />
|
Value="{DynamicResource SystemAccentColor}" />
|
||||||
|
<Setter Property="Foreground"
|
||||||
|
Value="{DynamicResource SystemAccentColorDark3}" />
|
||||||
</Style>
|
</Style>
|
||||||
</ListBox.Styles>
|
</ListBox.Styles>
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
@@ -181,17 +192,24 @@
|
|||||||
Padding="4">
|
Padding="4">
|
||||||
<ListBox.Styles>
|
<ListBox.Styles>
|
||||||
<Style Selector="ListBoxItem">
|
<Style Selector="ListBoxItem">
|
||||||
<Setter Property="Padding" Value="8,6" />
|
<Setter Property="Padding"
|
||||||
<Setter Property="Margin" Value="2" />
|
Value="8,6" />
|
||||||
<Setter Property="CornerRadius" Value="3" />
|
<Setter Property="Margin"
|
||||||
|
Value="2" />
|
||||||
|
<Setter Property="CornerRadius"
|
||||||
|
Value="3" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="ListBoxItem:pointerover /template/ ContentPresenter">
|
<Style Selector="ListBoxItem:pointerover /template/ ContentPresenter">
|
||||||
<Setter Property="Background" Value="{DynamicResource SystemAccentColorLight2}" />
|
<Setter Property="Background"
|
||||||
<Setter Property="Foreground" Value="{DynamicResource SystemAccentColorDark3}" />
|
Value="{DynamicResource SystemAccentColorLight2}" />
|
||||||
|
<Setter Property="Foreground"
|
||||||
|
Value="{DynamicResource SystemAccentColorDark3}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="ListBoxItem:selected /template/ ContentPresenter">
|
<Style Selector="ListBoxItem:selected /template/ ContentPresenter">
|
||||||
<Setter Property="Background" Value="{DynamicResource SystemAccentColor}" />
|
<Setter Property="Background"
|
||||||
<Setter Property="Foreground" Value="{DynamicResource SystemAccentColorDark3}" />
|
Value="{DynamicResource SystemAccentColor}" />
|
||||||
|
<Setter Property="Foreground"
|
||||||
|
Value="{DynamicResource SystemAccentColorDark3}" />
|
||||||
</Style>
|
</Style>
|
||||||
</ListBox.Styles>
|
</ListBox.Styles>
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
|
|||||||
Reference in New Issue
Block a user