URL like button

This commit is contained in:
Vadim Lopatin 2015-12-15 14:36:50 +03:00
parent f5dd9dbc99
commit b0862b7ae5
1 changed files with 9 additions and 0 deletions

View File

@ -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