Changeset 1511 for trunk/src/org/expeditee/items/Text.java
- Timestamp:
- 02/19/20 10:44:38 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/items/Text.java
r1416 r1511 393 393 @Override 394 394 public void setWidth(Integer width) { 395 System.err.println("Text::setWidth::Text content=" + getText() + ", new width=" + width); 395 396 invalidateAll(); 396 397 … … 400 401 return; 401 402 } 402 403 404 if (width == 0) { 405 System.err.println("Width of Zero: " + getText()); 406 } 407 403 408 _width = width; 404 409 rebuild(true); … … 1783 1788 1784 1789 if (this.getMinWidth() != null && getTextLayouts().size() == 0 && this.getFont() != null) { 1790 // could use any text, 'p' is used simply to get some text in correct font. 1785 1791 getTextLayouts().add(TextLayout.getManager().layoutStringSimple("p", this.getFont())); 1786 1792 isFakeLayout = true; … … 2910 2916 if (anchor != null) { 2911 2917 setX(DisplayController.getFramePaintAreaWidth() - anchor - getBoundsWidth() + getLeftMargin()); 2918 //System.err.println("Text::setAnchorRight::boundsWidth=" + getBoundsWidth()); 2912 2919 } 2913 2920 return;
Note:
See TracChangeset
for help on using the changeset viewer.