mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
Changed plus to pin icon in WebFilter #PL-3816
This commit is contained in:
parent
587fc369c7
commit
f1c5d514e1
@ -57,6 +57,7 @@ import com.vaadin.data.Property;
|
||||
import com.vaadin.data.Validator;
|
||||
import com.vaadin.data.validator.IntegerRangeValidator;
|
||||
import com.vaadin.server.Sizeable;
|
||||
import com.vaadin.server.ThemeResource;
|
||||
import com.vaadin.shared.ui.MarginInfo;
|
||||
import com.vaadin.ui.*;
|
||||
import com.vaadin.ui.Button;
|
||||
@ -194,7 +195,8 @@ public class WebFilter extends WebAbstractComponent<CubaVerticalActionsLayout> i
|
||||
|
||||
if (globalConfig.getAllowQueryFromSelected()) {
|
||||
pinAppliedFilterBtn = WebComponentsHelper.createButton();
|
||||
pinAppliedFilterBtn.setCaption(messages.getMessage(MESSAGES_PACK, "pinAppliedFilterBtn.caption"));
|
||||
pinAppliedFilterBtn.setCaption("");
|
||||
pinAppliedFilterBtn.setIcon(new ThemeResource("icons/pin.png"));
|
||||
pinAppliedFilterBtn.setDescription(messages.getMessage(MESSAGES_PACK, "pinAppliedFilterBtn.description"));
|
||||
pinAppliedFilterBtn.setEnabled(false);
|
||||
pinAppliedFilterBtn.addClickListener(new Button.ClickListener() {
|
||||
|
BIN
modules/web/themes/havana/icons/pin.png
Normal file
BIN
modules/web/themes/havana/icons/pin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 581 B |
@ -55,6 +55,7 @@ import com.vaadin.data.Validator;
|
||||
import com.vaadin.data.validator.IntegerValidator;
|
||||
import com.vaadin.event.ShortcutAction;
|
||||
import com.vaadin.terminal.Sizeable;
|
||||
import com.vaadin.terminal.ThemeResource;
|
||||
import com.vaadin.ui.*;
|
||||
import com.vaadin.ui.Button;
|
||||
import com.vaadin.ui.CheckBox;
|
||||
@ -213,7 +214,8 @@ public class WebFilter extends WebAbstractComponent<VerticalActionsLayout> imple
|
||||
|
||||
if (globalConfig.getAllowQueryFromSelected()) {
|
||||
pinAppliedFilterBtn = WebComponentsHelper.createButton();
|
||||
pinAppliedFilterBtn.setCaption(messages.getMessage(MESSAGES_PACK, "pinAppliedFilterBtn.caption"));
|
||||
pinAppliedFilterBtn.setCaption("");
|
||||
pinAppliedFilterBtn.setIcon(new ThemeResource("icons/pin.png"));
|
||||
pinAppliedFilterBtn.setDescription(messages.getMessage(MESSAGES_PACK, "pinAppliedFilterBtn.description"));
|
||||
pinAppliedFilterBtn.setEnabled(false);
|
||||
pinAppliedFilterBtn.addListener(new Button.ClickListener() {
|
||||
|
BIN
modules/web6/themes/havana/icons/pin.png
Normal file
BIN
modules/web6/themes/havana/icons/pin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 581 B |
Loading…
Reference in New Issue
Block a user