Announcement

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

    TabSet with TreeFrog: baseLine overlaps content in Tab panes

    I am using TabSet with TreeFrog skin and have the problem that controls (e.g.Buttons) placed at the upper part of the content panel (inside tab panes) are visible but not accessable by the mouse. The baseLine of the tabBar seems to have a height of 15 pixels and it seems to overlap. In the load_skin js file the height of the baseline is 1.

    Trying to setup a simple testcase I figured out that everything works as expected, so the problem seems to come from a special usage in my application. What may be the reason? (Perhaps someone had a similar problem).

    By the way: I don't have the problem with enterprise skin.

    Versions: Smartgwt 2.2 GPL, GWT 2.0.4.

    Kind regards
    Last edited by inventor; 17 Nov 2010, 09:08.

    #2
    Just for the case that someone has the same problem: I have fixed the bug by setting a constructor to the baseLine in load_skin.js of that theme like this:

    Code:
            isc.TabBar.addProperties({
                stackZIndex:"firstOnTop",
                memberOverlap:16,
                
                // keep the tabs from reaching the curved edge of the pane (regardless of align)
                layoutEndMargin:10,
    
                baseLineConstructor:"Canvas",
                baseLineProperties : { 
                    backgroundColor: "#25395f",
                    overflow:"hidden",
                    height:1
                }
            })

    Comment

    Working...
    X