mirror of https://github.com/buggins/dlangui.git
Ability to change min visible text in edit.
This commit is contained in:
parent
d47c8a03b2
commit
ba3844941e
|
@ -2314,6 +2314,16 @@ class EditLine : EditWidgetBase {
|
|||
|
||||
protected Point _measuredTextToSetWidgetSize;
|
||||
protected dstring _textToSetWidgetSize = "aaaaa"d;
|
||||
|
||||
@property void textToSetWidgetSize(dstring newText) {
|
||||
_textToSetWidgetSize = newText;
|
||||
requestLayout();
|
||||
}
|
||||
|
||||
@property dstring textToSetWidgetSize() {
|
||||
return _textToSetWidgetSize;
|
||||
}
|
||||
|
||||
protected int[] _measuredTextToSetWidgetSizeWidths;
|
||||
|
||||
protected dchar _passwordChar = 0;
|
||||
|
|
Loading…
Reference in New Issue