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

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

Go to download

WebLaf is a Java Swing Look and Feel and extended components library for cross-platform applications

There is a newer version: 2.2.1
Show newest version
<skin>

    <!-- com.alee.laf.text.WebTextArea -->

    <!-- Text area -->
    <style type="textarea" padding="2,2,2,2">
        <component>
            <opaque>true</opaque>
            <background>white</background>
            <selectionColor>210,210,210</selectionColor>
            <foreground>black</foreground>
            <selectedTextColor>black</selectedTextColor>
            <caretColor>gray</caretColor>
        </component>
        <painter>
            <inputPromptHorizontalPosition>0</inputPromptHorizontalPosition>
            <inputPromptVerticalPosition>0</inputPromptVerticalPosition>
            <inputPromptForeground>160,160,160</inputPromptForeground>
            <inputPromptOnlyWhenEditable>true</inputPromptOnlyWhenEditable>
            <hideInputPromptOnFocus>true</hideInputPromptOnFocus>
        </painter>
    </style>

    <!-- Decorated text area -->
    <style type="textarea" id="decorated">
        <component>
            <opaque>false</opaque>
        </component>
        <painter>
            <decorations>
                <decoration>
                    <WebShape round="2" />
                    <WebShadow type="outer" width="2" />
                    <LineBorder color="170,170,170" />
                    <ColorBackground color="white" />
                </decoration>
                <decoration states="focused">
                    <LineBorder color="85,130,190" />
                </decoration>
            </decorations>
        </painter>
    </style>

</skin>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy