Frank Kobzik has uploaded a new change for review. Change subject: userportal: Long text in console banner ......................................................................
userportal: Long text in console banner When the text in the console banner ("Double click to console" in english) is long (in some localizations), it is stripped. This patch causes long text to be wrapped instead. Change-Id: Ib28058daf58c3b2bd6d67208382f0998f8ceb354 Bug-Url: https://bugzilla.redhat.com/950942 Signed-off-by: Frantisek Kobzik <fkob...@redhat.com> --- M frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/basic/MainTabBasicListItemView.ui.xml D frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/public/images/general/tvlayout_doubleclick_to_console.png 2 files changed, 9 insertions(+), 11 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/38/15438/1 diff --git a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/basic/MainTabBasicListItemView.ui.xml b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/basic/MainTabBasicListItemView.ui.xml index 8d828a3..ea65cfc 100644 --- a/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/basic/MainTabBasicListItemView.ui.xml +++ b/frontend/webadmin/modules/userportal-gwtp/src/main/java/org/ovirt/engine/ui/userportal/section/main/view/tab/basic/MainTabBasicListItemView.ui.xml @@ -61,17 +61,15 @@ z-index: 1; } - .consoleBannerStyle { - background: url(images/general/tvlayout_doubleclick_to_console.png) repeat-x; + .consoleBannerLabelStyle { + background: #FFFFFF; z-index: 1; font-family: Arial,sans-serif; - color: #3A5F7C; + color: #3A5F7C; font-size: 13px; - } - - .consoleBannerLabelStyle { - margin-top: 9px; - margin-left: 3px; + opacity:0.8; + padding-top: 2px; + padding-bottom: 2px; } .basicItemStyle { @@ -147,9 +145,9 @@ <i:VmPausedImage ui:field="vmPausedImage" addStyleNames="{style.vmPausedImage}" resource='{resources.pausedIcon}'/> </g:layer> - <g:layer top='55px' height='30px' left='5px' width='150px'> - <g:SimplePanel ui:field="consoleBaner" addStyleNames="{style.consoleBannerStyle}"> - <g:Label addStyleNames="{style.consoleBannerLabelStyle}" text="{constants.doubleClickForConsole}"/> + <g:layer top='55px' height='60px' left='5px' width='150px'> + <g:SimplePanel ui:field="consoleBaner"> + <g:Label addStyleNames="{style.consoleBannerLabelStyle}" wordWrap="true" text="{constants.doubleClickForConsole}"/> </g:SimplePanel> </g:layer> diff --git a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/public/images/general/tvlayout_doubleclick_to_console.png b/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/public/images/general/tvlayout_doubleclick_to_console.png deleted file mode 100644 index c3a1b96..0000000 --- a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/public/images/general/tvlayout_doubleclick_to_console.png +++ /dev/null Binary files differ -- To view, visit http://gerrit.ovirt.org/15438 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib28058daf58c3b2bd6d67208382f0998f8ceb354 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Frank Kobzik <fkob...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches