Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    how to remove the extra spaces in MenuItem

    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);
    Attached Files

    #2
    This appears to be a duplicate of your other post. Please do not post duplicates.

    Comment

    Working...
    X