Changeset 292 for trunk/src/org/expeditee/gui/FrameCreator.java
- Timestamp:
- 09/03/08 14:43:49 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/FrameCreator.java
r284 r292 35 35 private Frame _firstFrame; 36 36 37 private boolean _multiColumn; 38 37 39 public FrameCreator(String frameTitle) { 38 40 this(DisplayIO.getCurrentFrame().getFramesetName(), DisplayIO 39 .getCurrentFrame().path, frameTitle, false );41 .getCurrentFrame().path, frameTitle, false, false); 40 42 } 41 43 … … 81 83 82 84 public FrameCreator(String name, String path, String frameTitle, 83 boolean recreate ) {84 85 boolean recreate, boolean multiColumn) { 86 _multiColumn = multiColumn; 85 87 _Mnext = createButton("@Next", null, null, 10F, 15F); 86 88 … … 178 180 // if there is no more room on the X axis, we have to start a 179 181 // new frame 180 // if (toAdd.getBoundsWidth() + _lastX > FrameGraphics181 //.getMaxSize().width) {182 // Make sure text items that are created on the current183 // frame are removed184 _current.removeItem(toAdd);185 createNextFrame();186 //}182 if (!_multiColumn || toAdd.getBoundsWidth() + _lastX > FrameGraphics 183 .getMaxSize().width) { 184 // Make sure text items that are created on the current 185 // frame are removed 186 _current.removeItem(toAdd); 187 createNextFrame(); 188 } 187 189 } 188 190
Note:
See TracChangeset
for help on using the changeset viewer.