-
Notifications
You must be signed in to change notification settings - Fork 7
Label
appreciated edited this page Aug 5, 2017
·
3 revisions
You can choose from the following Label styles (additionally to the default valo ones)
Create the Label as follows
Label label = new Label();
// Take one of the constants from below
label.addStyleNames(JAVA_CONSTANT1, JAVA_CONSTANT2);
// Now you can add the Button to your View
Description | Java Constant | Stylename |
---|---|---|
Default | - | - |
Default | LABEL_SUCCESS | "success" |
Default | LABEL_FAILURE | "failure" |
Default | LABEL_SUCCESS + LABEL_BORDERLESS | "success" + "borderless" |
Default | LABEL_FAILURE + LABEL_BORDERLESS | "failure" + "borderless" |