Changeset 5095
- Timestamp:
- 07/11/08 14:57:54 (3 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/itmill/toolkit/terminal/gwt/client/ui/IOrderedLayout.java
r5093 r5095 462 462 /** Recalculate and apply child widths */ 463 463 private void updateChildWidths() { 464 // Horizontallayout is calculated by us465 if (width != null && orientationMode == ORIENTATION_HORIZONTAL) {464 // layout is calculated by us 465 if (width != null) { 466 466 467 467 // Calculate the space for fixed contents minus marginals … … 494 494 // Reduce spacing from the size 495 495 int numChild = childWidgets.size(); 496 if (hasComponentSpacing) { 496 if (hasComponentSpacing 497 && orientationMode == ORIENTATION_HORIZONTAL) { 497 498 size -= hSpacing * (numChild - 1); 498 499 } … … 512 513 } 513 514 514 // Horizontal layout is calculated by the browsers515 // Layout is calculated by the browsers 515 516 else { 516 517 for (Iterator i = childWidgetWrappers.iterator(); i.hasNext();) {
