Changeset 5110

Show
Ignore:
Timestamp:
07/22/08 07:37:44 (4 months ago)
Author:
risto.yrjana@…
Message:

Added CSS for MenuBar?

Location:
trunk
Files:
2 added
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/com/itmill/toolkit/terminal/gwt/client/ui/IMenuBar.java

    r5109 r5110  
    66 
    77import com.google.gwt.user.client.Command; 
    8 import com.google.gwt.user.client.DOM; 
    98import com.google.gwt.user.client.ui.MenuBar; 
    109import com.google.gwt.user.client.ui.MenuItem; 
     
    4039        // Create an empty horizontal menubar 
    4140        super(); 
    42         DOM.setStyleAttribute(this.getElement(), "white-space", "nowrap"); 
    4341 
    4442        // This method call of the Paintable interface sets the component 
     
    4947    public IMenuBar(boolean vertical) { 
    5048        super(vertical); 
    51         DOM.setStyleAttribute(this.getElement(), "white-space", "nowrap"); 
    5249 
    5350        // This method call of the Paintable interface sets the component 
     
    114111        Stack menuStack = new Stack(); 
    115112        MenuBar currentMenu = this; 
    116  
    117         // int topLevelWidth = 0; 
    118113 
    119114        while (itr.hasNext()) {