I would like to change the style various components of RibbonBar and RibbonGroup to match the style of my application.
I have tried the following:
These style API calls have no effect.
What are the correct calls to change styles of various components of RibbonBar and RibbonGroup?
I’m interested in changing:
I have tried the following:
Code:
[B]public[/B] [B]class[/B] TestLayout [B]extends[/B] VStack { [B]public[/B] TestLayout() { setWidth100(); RibbonBar ribbonBar = [B]new[/B] RibbonBar(); ribbonBar.setLeft(0); ribbonBar.setTop(75); ribbonBar.setWidth100(); ribbonBar.setBackgroundColor("white"); ribbonBar.setGroupLabelStyleName("login-label"); ribbonBar.setGroupLabelBackgroundColor("blue"); addMember(ribbonBar); RibbonGroup ribbonGroup = [B]new[/B] RibbonGroup(); ribbonGroup.setTitle("Add"); ribbonGroup.setGroupLabelBackgroundColor("blue"); ribbonGroup.setBackgroundColor("red"); ribbonGroup.setTitleStyle("login-label"); ribbonBar.addMember(ribbonGroup); } }
What are the correct calls to change styles of various components of RibbonBar and RibbonGroup?
I’m interested in changing:
- Font of the title of a RibbonGroup
- Backgroud color of the title of a RibbonGroup
- Background color of the control area in a Ribbon group
- Border settings for all components.
Comment