Tweak the styling of the login widget. Dont clobber the rounded corner behind it, and use a pointer cursor on the sign out bit. Review at http://gwt-code-reviews.appspot.com/795801 Review by: jlabanca@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8637 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ScaffoldShell.ui.xml b/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ScaffoldShell.ui.xml index 594234a..cdd606f 100644 --- a/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ScaffoldShell.ui.xml +++ b/bikeshed/src/com/google/gwt/sample/expenses/gwt/client/ScaffoldShell.ui.xml
@@ -51,7 +51,6 @@ left: 75%; right: 0%; text-align: center; - background-color: #777; color: #def; }
diff --git a/user/src/com/google/gwt/requestfactory/client/LoginWidget.ui.xml b/user/src/com/google/gwt/requestfactory/client/LoginWidget.ui.xml index 58af72c..13259d7 100644 --- a/user/src/com/google/gwt/requestfactory/client/LoginWidget.ui.xml +++ b/user/src/com/google/gwt/requestfactory/client/LoginWidget.ui.xml
@@ -1,10 +1,15 @@ <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder' xmlns:g='urn:import:com.google.gwt.user.client.ui'> - + <ui:style> + .link { + cursor: pointer; + } + </ui:style> + <g:HTMLPanel> <div> <span ui:field="name">Not logged in</span> | - <g:InlineLabel ui:field="logoutLink">Sign out</g:InlineLabel> + <g:InlineLabel ui:field="logoutLink" addStyleNames="{style.link}">Sign out</g:InlineLabel> </div> </g:HTMLPanel> </ui:UiBinder>