Curl Global Community
CheckButtomのstyleについて - Printable Version

+- Curl Global Community (https://communities.curl.com)
+-- Forum: Discussions (https://communities.curl.com/forumdisplay.php?fid=1)
+--- Forum: General Curl questions (https://communities.curl.com/forumdisplay.php?fid=2)
+--- Thread: CheckButtomのstyleについて (/showthread.php?tid=369)



CheckButtomのstyleについて - Yuki.A - 12-09-2011

通常のCheckButtonのstyle(standard)は「レ」ですが、

「×」にすることは可能なのでしょうか?Huh



RE: CheckButtomのstyleについて - c-s - 12-12-2011

Standard UIを使っているでしょうか。
Skinnable UIを使えば、通常は'x'ですから。

Code:
{curl 7.0, 8.0 applet}

{CheckButton
    value = true,
    look-and-feel = the-standard-look-and-feel,
    style-manager = null
} (standard)

{CheckButton value = true} (default skinnable)

{CheckButton
    checked-skin =
        {ShadedSkinSpec
            "#BFD9F2",
            "#BFD9F2",
            border-color = "#6B6B6B",
            rollover-border-color = "#6B6B6B",
            draw-content-background? = true,
            highlight-alpha-1 = 0.1,
            highlight-alpha-2 = 0.2,
            highlight-boundary = .95,
            corner-radius = 0px,
            margin-spec = {OffsetSpec 5px},
            overlay-decoration = "dot"
        },
    value = true
} (modified skinnable)