File tree Expand file tree Collapse file tree 3 files changed +19
-6
lines changed
Avalonia.Controls.ColorPicker/Themes/Simple
Avalonia.Themes.Simple/Controls Expand file tree Collapse file tree 3 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 103
103
<TabItem Theme =" {StaticResource ColorViewTabItemTheme}"
104
104
IsVisible =" {TemplateBinding IsColorSpectrumVisible}" >
105
105
<TabItem .Header>
106
- <Border Height =" {DynamicResource ColorViewTabStripHeight}" >
106
+ <Border Height =" {DynamicResource ColorViewTabStripHeight}"
107
+ Background =" Transparent" >
107
108
<PathIcon Width =" 20"
108
109
Height =" 20"
109
110
Data =" {DynamicResource ColorViewSpectrumIconGeometry}" />
168
169
<TabItem Theme =" {StaticResource ColorViewTabItemTheme}"
169
170
IsVisible =" {TemplateBinding IsColorPaletteVisible}" >
170
171
<TabItem .Header>
171
- <Border Height =" {DynamicResource ColorViewTabStripHeight}" >
172
+ <Border Height =" {DynamicResource ColorViewTabStripHeight}"
173
+ Background =" Transparent" >
172
174
<PathIcon Width =" 20"
173
175
Height =" 20"
174
176
Data =" {DynamicResource ColorViewPaletteIconGeometry}" />
203
205
<TabItem Theme =" {StaticResource ColorViewTabItemTheme}"
204
206
IsVisible =" {TemplateBinding IsColorComponentsVisible}" >
205
207
<TabItem .Header>
206
- <Border Height =" {DynamicResource ColorViewTabStripHeight}" >
208
+ <Border Height =" {DynamicResource ColorViewTabStripHeight}"
209
+ Background =" Transparent" >
207
210
<PathIcon Width =" 20"
208
211
Height =" 20"
209
212
Data =" {DynamicResource ColorViewComponentsIconGeometry}" />
264
267
AutomationProperties.Name=" Hexadecimal Color"
265
268
Height =" 32"
266
269
MaxLength =" 9"
270
+ Padding =" 10,6,6,5"
271
+ VerticalContentAlignment =" Center"
267
272
HorizontalAlignment =" Stretch"
268
273
CornerRadius =" 0,0,0,0" />
269
274
</Grid >
Original file line number Diff line number Diff line change 306
306
<TabItem Theme =" {StaticResource ColorViewTabItemTheme}"
307
307
IsVisible =" {TemplateBinding IsColorSpectrumVisible}" >
308
308
<TabItem .Header>
309
- <Border Height =" {DynamicResource ColorViewTabStripHeight}" >
309
+ <Border Height =" {DynamicResource ColorViewTabStripHeight}"
310
+ Background =" Transparent" >
310
311
<PathIcon Width =" 20"
311
312
Height =" 20"
312
313
Data =" {DynamicResource ColorViewSpectrumIconGeometry}" />
371
372
<TabItem Theme =" {StaticResource ColorViewTabItemTheme}"
372
373
IsVisible =" {TemplateBinding IsColorPaletteVisible}" >
373
374
<TabItem .Header>
374
- <Border Height =" {DynamicResource ColorViewTabStripHeight}" >
375
+ <Border Height =" {DynamicResource ColorViewTabStripHeight}"
376
+ Background =" Transparent" >
375
377
<PathIcon Width =" 20"
376
378
Height =" 20"
377
379
Data =" {DynamicResource ColorViewPaletteIconGeometry}" />
406
408
<TabItem Theme =" {StaticResource ColorViewTabItemTheme}"
407
409
IsVisible =" {TemplateBinding IsColorComponentsVisible}" >
408
410
<TabItem .Header>
409
- <Border Height =" {DynamicResource ColorViewTabStripHeight}" >
411
+ <Border Height =" {DynamicResource ColorViewTabStripHeight}"
412
+ Background =" Transparent" >
410
413
<PathIcon Width =" 20"
411
414
Height =" 20"
412
415
Data =" {DynamicResource ColorViewComponentsIconGeometry}" />
467
470
AutomationProperties.Name=" Hexadecimal Color"
468
471
Height =" 32"
469
472
MaxLength =" 9"
473
+ Padding =" 10,6,6,5"
474
+ VerticalContentAlignment =" Center"
470
475
HorizontalAlignment =" Stretch"
471
476
CornerRadius =" 0,0,0,0" />
472
477
</Grid >
Original file line number Diff line number Diff line change 14
14
HorizontalContentAlignment =" Stretch"
15
15
VerticalContentAlignment =" Stretch"
16
16
IsTabStop =" False"
17
+ Padding =" 0"
18
+ MinWidth =" 0"
17
19
AllowSpin =" {TemplateBinding AllowSpin}"
18
20
Background =" {TemplateBinding Background}"
19
21
BorderBrush =" {TemplateBinding BorderBrush}"
25
27
MinWidth =" 20"
26
28
Margin =" 4"
27
29
Padding =" {TemplateBinding Padding}"
30
+ ScrollViewer.VerticalScrollBarVisibility=" Disabled"
28
31
HorizontalContentAlignment =" {TemplateBinding HorizontalContentAlignment}"
29
32
VerticalContentAlignment =" {TemplateBinding VerticalContentAlignment}"
30
33
AcceptsReturn =" False"
You can’t perform that action at this time.
0 commit comments