All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alee.skin.web.resources.checkboxmenuitem.xml Maven / Gradle / Ivy

<skin xmlns="http://weblookandfeel.com/XmlSkin">

    <!-- com.alee.laf.menu.WebCheckBoxMenuItem -->

    <!-- Check box menu item -->
    <style type="checkboxmenuitem">
        <component>
            <opaque>false</opaque>
        </component>
        <painter>
            <decorations>
                <decoration>
                    <WebShape round="0" />
                    <MenuItemLayout padding="4,10,5,8" iconTextGap="6" textAcceleratorGap="20">
                        <SimpleButtonIcon constraints="icon" />
                        <ButtonText constraints="text" color="black" />
                        <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" />
                        <AcceleratorText color="120,120,120" />
                    </MenuItemLayout>
                </decoration>
            </decorations>

            <!-- Check state painter -->
            <checkStatePainter>
                <decorations>
                    <decoration size="17,17">
                        <WebShape round="2" />
                        <WebShadow type="outer" width="2" />
                        <LineBorder color="170,170,170" />
                        <GradientBackground type="radial" from="0.5,0.5" to="2,0.5">
                            <color>white</color>
                            <color>223,223,223</color>
                        </GradientBackground>
                    </decoration>
                    <decoration states="checked">
                        <CheckIcon bounds="margin" stroke="basic;2" color="28,66,97" />
                    </decoration>
                    <decoration states="disabled">
                        <WebShadow type="outer" opacity="0" />
                        <LineBorder color="lightGray" />
                    </decoration>
                    <decoration states="disabled,checked">
                        <CheckIcon bounds="margin" color="gray" />
                    </decoration>
                </decorations>
            </checkStatePainter>

        </painter>
    </style>

</skin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy