Changeset 5110
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/itmill/toolkit/terminal/gwt/client/ui/IMenuBar.java
r5109 r5110 6 6 7 7 import com.google.gwt.user.client.Command; 8 import com.google.gwt.user.client.DOM;9 8 import com.google.gwt.user.client.ui.MenuBar; 10 9 import com.google.gwt.user.client.ui.MenuItem; … … 40 39 // Create an empty horizontal menubar 41 40 super(); 42 DOM.setStyleAttribute(this.getElement(), "white-space", "nowrap");43 41 44 42 // This method call of the Paintable interface sets the component … … 49 47 public IMenuBar(boolean vertical) { 50 48 super(vertical); 51 DOM.setStyleAttribute(this.getElement(), "white-space", "nowrap");52 49 53 50 // This method call of the Paintable interface sets the component … … 114 111 Stack menuStack = new Stack(); 115 112 MenuBar currentMenu = this; 116 117 // int topLevelWidth = 0;118 113 119 114 while (itr.hasNext()) {
