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

After

Width:  |  Height:  |  Size: 250 B