whitespace remove

This commit is contained in:
Vadim Lopatin 2015-03-25 08:43:05 +03:00
parent 5eec0f91cf
commit b2be31ac9f
1 changed files with 5 additions and 5 deletions

View File

@ -134,11 +134,11 @@ class TextWidget : Widget {
applyAlign(rc, sz);
font.drawText(buf, rc.left, rc.top, text, textColor, 4, 0, textFlags);
} else {
SimpleTextFormatter fmt;
Point sz = fmt.format(text, font, maxLines, rc.width, 4, 0, textFlags);
SimpleTextFormatter fmt;
Point sz = fmt.format(text, font, maxLines, rc.width, 4, 0, textFlags);
applyAlign(rc, sz);
// TODO: apply align to alignment lines
fmt.draw(buf, rc.left, rc.top, font, textColor);
fmt.draw(buf, rc.left, rc.top, font, textColor);
}
}
}
@ -178,10 +178,10 @@ class ImageWidget : Widget {
@property string drawableId() { return _drawableId; }
/// set drawable image id
@property ImageWidget drawableId(string id) {
_drawableId = id;
_drawableId = id;
_drawable.clear();
requestLayout();
return this;
return this;
}
/// get drawable
@property ref DrawableRef drawable() {