Lior Vernia has uploaded a new change for review.

Change subject: webadmin: Add some spacing to checkbox cell labels
......................................................................

webadmin: Add some spacing to checkbox cell labels

Some regression occurred in 3.5 where labels in checkbox cells too
close to the actual checkbox (presumably due to the Look & Feel
patches). This adds some space between them.

Change-Id: I2e345fcfdfb18c8305598e0affc87c2e6c196092
Bug-Url: https://bugzilla.redhat.com/1120984
Signed-off-by: Lior Vernia <[email protected]>
---
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/ApplicationTemplates.java
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/13/31613/1

diff --git 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/ApplicationTemplates.java
 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/ApplicationTemplates.java
index 297a817..1675406 100644
--- 
a/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/ApplicationTemplates.java
+++ 
b/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/ApplicationTemplates.java
@@ -95,10 +95,10 @@
     @Template("<button type='button' tabindex='-1' style='background: url({0}) 
no-repeat; white-space: nowrap; height: 20px; width: 20px; line-height: 20px; 
float: right;'></button>")
     SafeHtml actionButtonImage(String image);
 
-    @Template("<span style=\"top: -3px; position: relative;\">{0}</span>")
+    @Template("<span style=\"top: -3px; left: 3px; position: 
relative;\">{0}</span>")
     SafeHtml textForCheckBoxHeader(String text);
 
-    @Template("<span style=\"top: -2px; position: relative;\">{0}</span>")
+    @Template("<span style=\"top: -2px; left: 3px; position: 
relative;\">{0}</span>")
     SafeHtml textForCheckBox(String text);
 
     @Template("{0} <span style='font-weight:bold; color: red;'>{1}</span>")


-- 
To view, visit http://gerrit.ovirt.org/31613
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2e345fcfdfb18c8305598e0affc87c2e6c196092
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Lior Vernia <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to