hi,
Gwt Version : SmartGWT Pro 3.0 version.
Web Browser : Firefox 8.0.1
Java Coding
final MenuButton menuButton = new MenuButton("Profile");
menuButton.setBaseStyle("header_action_label");
final Menu menu = new Menu();
menu.setBackgroundColor("#808080");
menu.setShowIcons(false);
MenuItem changePassword = new MenuItem("Change Password");
changePassword.set_baseStyle("style='font-size:14px; color: #ffffff;");
menu.setItems(changePassword);
CSS code:
.header_action_label
{
font-size: 14px;
color: #ffffff;
font-family: Cambria;
}
I used menu.setPadding(0) but it remains same.
menuButton.setMenu(menu);
Gwt Version : SmartGWT Pro 3.0 version.
Web Browser : Firefox 8.0.1
Java Coding
final MenuButton menuButton = new MenuButton("Profile");
menuButton.setBaseStyle("header_action_label");
final Menu menu = new Menu();
menu.setBackgroundColor("#808080");
menu.setShowIcons(false);
MenuItem changePassword = new MenuItem("Change Password");
changePassword.set_baseStyle("style='font-size:14px; color: #ffffff;");
menu.setItems(changePassword);
CSS code:
.header_action_label
{
font-size: 14px;
color: #ffffff;
font-family: Cambria;
}
I used menu.setPadding(0) but it remains same.
menuButton.setMenu(menu);
Comment