Thread Rating:
  • 260 Vote(s) - 2.77 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MenuBarのunderlineについて質問
03-22-2012, 02:16 PM,
#1
MenuBarのunderlineについて質問
イメージ:
 Menu
----------------------------------------------------------------------------------------------
下記のソースによって、MenuBarを表示されると、underlineがついています。
どうやって除けますか?
{curl 7.0 applet}
{curl-file-attributes character-encoding = "shift-jis"}
{let menu-bar1:MenuBar=
{MenuBar
use-look-and-feel? = false,
font-weight = "normal",
font-size = 12px,
control-color = "beige",
margin = 0px,
background = "beige",
height = 20px,
{SubMenu
label = {localize "ズーム"}
}
}
}
{CommandButton
label="Show MenuBar",
{on Action do
{let view:View = {View menu-bar1}}
{view.show}
}
}
よろしくお願いします。


Reply
03-26-2012, 10:14 AM,
#2
RE: MenuBarのunderlineについて質問
スタイルシートを設定して消せます。
たとえば以下のようにしてみてください。
Code:
{curl 7.0 applet}
{curl-file-attributes character-encoding = "shift-jis"}
{install-style-sheet
    {StyleSheet
        {StyleRule
            "MenuBar/divider",
            border-style = BorderStyle.none
        }
    }
}
{let menu-bar1:MenuBar=
    {MenuBar
        use-look-and-feel? = false,
        font-weight = "normal",
        font-size = 12px,
        control-color = "beige",
        margin = 0px,
        background = "beige",
        height = 20px,
        {SubMenu
            label = {localize "ズーム"}
        }
    }
}
{CommandButton
    label="Show MenuBar",
    {on Action do
        {let view:View = {View menu-bar1}}
        {view.show}
    }
}
Reply

Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('444')