Bug 4104: Changed pen icon to plus icon for "Add Tags"-button.

This commit is contained in:
Henri Kohlberg committed 2018-09-05 08:31:01 +02:00
1 parent 5b100b2b16
commit 4df9377669
4 files changed
+6 -6

No files matched your search

@@ -35,8 +35,8 @@ public interface TagPanelResources extends ClientBundle {
@Source("com/sap/sailing/gwt/ui/client/images/SAP_RV_Settings.png") @Source("com/sap/sailing/gwt/ui/client/images/SAP_RV_Settings.png")
ImageResource settingsButton(); ImageResource settingsButton();
@Source("com/sap/sailing/gwt/ui/client/images/pen.png") @Source("com/sap/sailing/gwt/ui/client/images/plus_transparent.png")
ImageResource pen(); ImageResource plusTransparent();
@Source("tagging-panel.gss") @Source("tagging-panel.gss")
public TagPanelStyle style(); public TagPanelStyle style();
@@ -97,6 +97,6 @@ public interface TagPanelResources extends ClientBundle {
String imageSearch(); String imageSearch();
String imageClearSearch(); String imageClearSearch();
String imageSettings(); String imageSettings();
String imagePen(); String imagePusTransparent();
} }
} }
@@ -158,7 +158,7 @@ public class TaggingPanel extends ComponentWithoutSettings
createTagsButton.setTitle(stringMessages.tagAddTags()); createTagsButton.setTitle(stringMessages.tagAddTags());
createTagsButton.setStyleName(style.toggleEditState()); createTagsButton.setStyleName(style.toggleEditState());
createTagsButton.addStyleName(style.imagePen()); createTagsButton.addStyleName(style.imagePusTransparent());
createTagsButton.addClickHandler(event -> { createTagsButton.addClickHandler(event -> {
setCurrentState(State.EDIT); setCurrentState(State.EDIT);
}); });
@@ -386,8 +386,8 @@
background-size: contain; background-size: contain;
} }
.imagePen { .imagePusTransparent {
gwt-sprite: "pen"; gwt-sprite: "plusTransparent";
width: 2em; width: 2em;
height: 2em; height: 2em;
background-size: contain; background-size: contain;
Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B