mirror of https://github.com/buggins/dlangui.git
URL like button
This commit is contained in:
parent
f5dd9dbc99
commit
b0862b7ae5
|
@ -353,6 +353,15 @@ class UrlImageTextButton : ImageTextButton {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// button looking like URL, executing specified action
|
||||||
|
class LinkButton : ImageTextButton {
|
||||||
|
this(Action a) {
|
||||||
|
super(a);
|
||||||
|
styleId = null;
|
||||||
|
_label.styleId = "BUTTON_LABEL_LINK";
|
||||||
|
padding(Rect(3,3,3,3));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/// checkbox
|
/// checkbox
|
||||||
|
|
Loading…
Reference in New Issue