Announcement

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

    Using the Tahoe skin

    I am trying to get the skin effect as show in the SmartGWT showcase for the Tahoe skin. I have just upgraded to SmartGWT 6.1-p20170730. My .gwt.xml file looks like this:

    Code:
    <?xml version=[I]"1.0"[/I] encoding=[I]"UTF-8"[/I]?>
    <module rename-to=[I]'Aktana'[/I]>
     
        <inherits name=[I]'com.cedarcone.Orchestrate.OrchestrateCommon'[/I] />
     
        <inherits name=[I]"com.smartgwtee.SmartGwtEE"[/I] />
        <inherits name=[I]"com.smartclient.theme.tahoe.Tahoe"[/I] />
     
           <!-- Specify the [U]app[/U] entry point class. -->
           <entry-point
                  class=[I]'com.cedarcone.Orchestrate.client.aktana.entry.AktanaEntry'[/I] />
     
    </module>
    However, I am not getting the effect as show on the SmartGWT showcase. Please see the attached image that shows what I’m getting.

    Attached Files

    #2
    The problem here is that you're inheriting both the "SmartGWTEE" module and the "Tahoe" theme module.
    SmartGWTEE includes a theme (Enterprise) by default so you're getting two skins loaded on top of each other with odd results. You should, as an aside, be seeing a warning in the developer console indicating that this is happening.

    You can fix it by inheriting SmartGWTEENoTheme instead of SmartGWTEE (and then leaving the Tahoe inherits tag in place).
    The relevant documentation on this is here: http://www.smartclient.com/smartgwte.../Skinning.html

    Regards
    Isomorphic Software

    Comment


      #3
      Originally posted by Isomorphic View Post
      You can fix it by inheriting SmartGWTEENoTheme instead of SmartGWTEE (and then leaving the Tahoe inherits tag in place).
      I changed the .gwt.xml file to

      Code:
      <?xml version=[I]"1.0"[/I] encoding=[I]"UTF-8"[/I]?>
      <module rename-to=[I]'Aktana'[/I]>
       
          <inherits name=[I]'com.cedarcone.Orchestrate.OrchestrateCommon'[/I] />
       
          <inherits name=[I]"com.smartgwtee.SmartGwtEENoTheme"[/I]/>
          <inherits name=[I]"com.smartclient.theme.tahoe.Tahoe"[/I] />
       
          <entry-point class=[I]'com.cedarcone.Orchestrate.client.aktana.entry.AktanaEntry'[/I] />
       
      </module>
      This works.

      Originally posted by Isomorphic View Post
      The relevant documentation on this is here: http://www.smartclient.com/smartgwte.../Skinning.html
      The document tells me a lot about skins but doesn’t seem to document how the .gwt.xml files should be configured. Can you reference me to a document that shows how to configure the .gwt.xml file for selecting skins?
      Last edited by dbscott525; 2 Aug 2017, 11:21.

      Comment

      Working...
      X