Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Tahoe Theme Not Displaying Correctly

    I recently upgraded to SmartGWT 6.1-p20170730.

    After this upgrade the theme Tahoe is no longer displaying correctly.

    Here is my .gwt.xml file

    Code:
    <?xml version=[I]"1.0"[/I] encoding=[I]"UTF-8"[/I]?>
    <module rename-to=[I]'Aktana'[/I]>
    
           <inherits name=[I]'com.google.gwt.user.User'[/I] />
           <inherits name=[I]'com.google.gwt.user.theme.standard.Standard'[/I] />
           <inherits name=[I]"com.smartgwtee.tools.Tools"[/I] />
    
           <!-- GWT Reflection -->
           <inherits name=[I]"com.gwtent.reflection.Reflection"[/I] />
    
           <!-- Google [U]Autobean[/U] used from Java object <-> JSON -->
           <inherits name=[I]"com.google.web.bindery.autobean.AutoBean"[/I] />
    
    
           <!-- com.smartgwtee.SmartGwtEENoTheme is used for the com.smartclient.theme.tahoe.Tahoe -->
           <inherits name=[I]"com.smartgwtee.SmartGwtEENoTheme"[/I] />
           <inherits name=[I]"com.smartclient.theme.tahoe.Tahoe"[/I] />
    
        <!-- Specify the paths for translatable code -->
        <source path=[I]'client'[/I] />
        <source path=[I]'shared'[/I] />
    
           <!-- Specify the [U]app[/U] entry point class. -->
           <entry-point class=[I]'com.aktana.rbac.client.aktana.entry.AktanaEntry'[/I] />
    
    </module>
    I have also attached a screen capture of what the display looks like.
    Attached Files

    #2
    Please show the code for that sample - it's not clear what we're looking at.

    Comment


      #3
      Originally posted by Isomorphic View Post
      Please show the code for that sample - it's not clear what we're looking at.
      Here is simplified code – just a button.

      Code:
      public class AktanaEntry extends Button implements EntryPoint {
      
          public AktanaEntry() {
              super("Button");
          }
      
          @Override
          public void onModuleLoad() {
              show();
          }
      }
      I’ve also attached an updated screen capture to show the results of this code.
      Attached Files

      Comment


        #4
        Have you tried with the latest build?

        Comment


          #5
          Originally posted by davidj6 View Post
          Have you tried with the latest build?
          Yes, I just tried 6.1-p20170903 with the same result

          Comment


            #6
            The code you show above looks good and we're not seeing the same issue. However, a similar failure can occur if you omit loading the skin in your bootstrap html file or possibly load more than one skin: <script src="[app]/sc/skins/Tahoe/load_skin.js"></script>.

            Confirm the skin directory is being populated properly on compile and that the skin JS file is being loading during page load (after clearing your browser cache).

            Comment


              #7
              Originally posted by Isomorphic View Post
              However, a similar failure can occur if you omit loading the skin in your bootstrap html file or possibly load more than one skin: <script src="[app]/sc/skins/Tahoe/load_skin.js"></script>.
              That was the problem. I haven't used an alternative skin so I didn't realize you needed to make a change in two places.

              Comment

              Working...
              X