Thread Rating:
  • 250 Vote(s) - 2.83 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MenuBar Styling
07-31-2012, 09:21 AM,
#3
RE: MenuBar Styling
(07-30-2012, 04:21 PM)ashimo Wrote: 良い情報ありがとうございます。
(07-30-2012, 04:21 PM)ashimo Wrote: サンプルコードではないですが
MenuBarとSubMenuへのスキン適用はこんな感じでできました
Code:
{curl 8.0 applet}
{value
    {def menu-skin = {ShadedSkinSpec "khaki", "gold",
                         border-color = "tan",
                         rollover-border-color = "crimson",
                         margin-spec = {OffsetSpec 3pt, 3pt},
                         corner-radius = 8px
                     }
    }
    {let menu-bar:MenuBar = {MenuBar
                                skin = menu-skin,
                                {SubMenu label = "File",
                                    skin = menu-skin,
                                    {SubMenu label = "New",
                                        skin = menu-skin,
                                        {MenuAction label = "Curl"},
                                        {MenuAction label = "Text"},
                                        {MenuAction label = "Close"}
                                    }
                                },
                                {SubMenu label = "Edit",
                                    skin = menu-skin,
                                    {MenuAction label = "Cut"},
                                    {MenuAction label = "Paste"}
                                }
                            }
    }
    menu-bar
}

Reply


Messages In This Thread
MenuBar Styling - by happycoin - 07-27-2012, 05:45 PM
RE: MenuBar Styling - by ashimo - 07-30-2012, 04:21 PM
RE: MenuBar Styling - by happycoin - 07-31-2012, 09:21 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Pane styling RobertShiplett 0 2,390 07-12-2012, 05:02 AM
Last Post: RobertShiplett
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('580')