mirror of https://github.com/buggins/dlangui.git
fix some white spaces
This commit is contained in:
parent
65c0f2a678
commit
49555d43d6
|
@ -2615,18 +2615,18 @@ class SpinCtrl : HorizontalLayout {
|
||||||
addChild(butContainer);
|
addChild(butContainer);
|
||||||
|
|
||||||
butUp.click = delegate(Widget w) {
|
butUp.click = delegate(Widget w) {
|
||||||
immutable val = linEdit.text.to!int;
|
immutable val = linEdit.text.to!int;
|
||||||
if(val < max )
|
if(val < max )
|
||||||
linEdit.text = (val + 1).to!string._ui;
|
linEdit.text = (val + 1).to!string._ui;
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
|
|
||||||
butDown.click = delegate(Widget w) {
|
butDown.click = delegate(Widget w) {
|
||||||
immutable val = linEdit.text.to!int;
|
immutable val = linEdit.text.to!int;
|
||||||
if(val > min )
|
if(val > min )
|
||||||
linEdit.text = (val - 1).to!string._ui;
|
linEdit.text = (val - 1).to!string._ui;
|
||||||
return true;
|
return true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue