-
Notifications
You must be signed in to change notification settings - Fork 235
/
menuitem.xml
61 lines (57 loc) · 2.32 KB
/
menuitem.xml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<skin xmlns="http://weblookandfeel.com/XmlSkin">
<!-- com.alee.laf.menu.WebMenuItem -->
<!-- Menu item -->
<style type="menuitem">
<component>
<opaque>false</opaque>
<foreground>black</foreground>
</component>
<painter>
<decorations>
<decoration>
<WebShape round="0" />
<MenuItemLayout padding="5,10,5,8" iconTextGap="6" textAcceleratorGap="20">
<ButtonIcon constraints="icon" />
<ButtonText constraints="text" />
<RoundRectangle constraints="accelerator" round="4" opacity="0">
<ColorBackground color="240,240,240" />
</RoundRectangle>
<AcceleratorText constraints="accelerator" padding="0,4,0,4" color="90,90,90" />
</MenuItemLayout>
</decoration>
<decoration states="selected">
<GradientBackground>
<color>208,208,198</color>
<color>196,196,186</color>
</GradientBackground>
<MenuItemLayout>
<RoundRectangle opacity="1" />
</MenuItemLayout>
</decoration>
<decoration states="disabled">
<MenuItemLayout>
<ButtonText color="120,120,120" ignoreCustomColor="true" />
<AcceleratorText color="120,120,120" />
</MenuItemLayout>
</decoration>
</decorations>
</painter>
</style>
<!-- Menu item supporting styled text -->
<style type="menuitem" id="styled">
<painter>
<decorations>
<decoration>
<MenuItemLayout>
<StyledButtonText constraints="text" />
</MenuItemLayout>
</decoration>
<decoration states="disabled">
<MenuItemLayout>
<StyledButtonText color="120,120,120" ignoreCustomColor="true" ignoreStyleColors="true" />
</MenuItemLayout>
</decoration>
</decorations>
</painter>
</style>
</skin>