mirror of https://github.com/buggins/dlangui.git
orientation const added
This commit is contained in:
parent
413fd9a753
commit
9292783204
|
@ -362,7 +362,7 @@ class ImageTextButton : HorizontalLayout {
|
||||||
override @property Widget text(UIString s) { _label.text = s; requestLayout(); return this; }
|
override @property Widget text(UIString s) { _label.text = s; requestLayout(); return this; }
|
||||||
|
|
||||||
/// Returns orientation: Vertical - image top, Horizontal - image left"
|
/// Returns orientation: Vertical - image top, Horizontal - image left"
|
||||||
override @property Orientation orientation() {
|
override @property Orientation orientation() const {
|
||||||
return super.orientation();
|
return super.orientation();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -521,7 +521,7 @@ class ResizerWidget : Widget {
|
||||||
class LinearLayout : WidgetGroupDefaultDrawing {
|
class LinearLayout : WidgetGroupDefaultDrawing {
|
||||||
protected Orientation _orientation = Orientation.Vertical;
|
protected Orientation _orientation = Orientation.Vertical;
|
||||||
/// returns linear layout orientation (Vertical, Horizontal)
|
/// returns linear layout orientation (Vertical, Horizontal)
|
||||||
@property Orientation orientation() { return _orientation; }
|
@property Orientation orientation() const { return _orientation; }
|
||||||
/// sets linear layout orientation
|
/// sets linear layout orientation
|
||||||
@property LinearLayout orientation(Orientation value) { _orientation = value; requestLayout(); return this; }
|
@property LinearLayout orientation(Orientation value) { _orientation = value; requestLayout(); return this; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue