Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Styles.xaml « Styles « Assets « UVtools.WPF - github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a513a8ac6f82aaf1610a8ddec8d01dc55ba765d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<Styles xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Design.PreviewWith>
        <Border Padding="20"></Border>
    </Design.PreviewWith>

    <Style Selector="Border.GroupBox">
        <Setter Property="BorderThickness" Value="4" />
    </Style>

    <Style Selector="TextBlock.GroupBoxHeader">
        <Setter Property="Padding" Value="10" />
        <Setter Property="FontWeight" Value="Bold" />
    </Style>

  <Style Selector="Border.FooterActions">
      <Setter Property="Padding" Value="10,20" />
      <Setter Property="Margin" Value="0,10,0, 0" />
  </Style>

    <Style Selector="TextBox.TransparentReadOnly">
        <Setter Property="TextWrapping" Value="Wrap" />
        <Setter Property="IsReadOnly" Value="True" />
        <Setter Property="Background" Value="Transparent" />
        <Setter Property="CaretBrush" Value="Transparent" />
        <Setter Property="BorderBrush" Value="Transparent" />
        <Setter Property="AcceptsReturn" Value="True" />
        <Setter Property="AcceptsTab" Value="True" />
    </Style>


    <Style Selector="NumericUpDown">
        <Setter Property="MinWidth" Value="130"></Setter>
        <Setter Property="ClipValueToMinMax" Value="True"></Setter>
    </Style>

    <Style Selector="TabControl">
        <Setter Property="Padding" Value="0"></Setter>
    </Style>

    <Style Selector="Expander /template/ ToggleButton">
        <Setter Property="FontWeight" Value="Bold" />
        <Setter Property="Cursor" Value="Hand" />
    </Style>
    
</Styles>