Announcement

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

    Sections in Obisidian Theme

    Hi,
    I am using <smartgwt.version>12.1-p20210219</smartgwt.version>

    My application uses both themes-Tahoe and Obisidian.

    In Tahoe Theme , in sections expand/collapse icon is on left but whereas in Obisidian Theme its on right.I checked it on showcase then ,there also same is happening.

    When i compared, both were having different Dom structure.
    Can you please help me in getting expand/collapse icon in left brfore text in Obisidian Theme, just like in Tahoe Theme.

    Attaching screenshots.
    Thanks!
    Attached Files

    #2
    It's controlled by SectionHeader.iconOrientation, which is set to "right" in Obsidian.

    You can change it globally for all SectionHeaders via setDefaultProperties()

    Code:
    SectionHeader props = new SectionHeader();
    props.setIconOrientation("left");
    SectionHeader.setDefaultProperties(props);

    Comment

    Working...
    X