Announcement

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

    Customizing SplitBar to include title and be like a tab

    I'm trying customize the splitbar to look as close as possible to the attached images. A couple of sub-questions:

    1. What's the easiest way to have a title (see Dates sub-section in attached image)?

    2. What's easiest way to make it look like a 'tabbed' header - as in the attached image?

    Thanks.
    Attached Files

    #2
    use section stack :)

    refer http://www.smartclient.com/smartgwt/...ons_add_remove

    Comment


      #3
      Consider just using a TabSet with a click handler on the Tab that makes the overall TabSet very small. Otherwise, yes, a SectionStack is also close, you'll want to use the sectionHeadClass the inherits from StretchImg, set all the background media to blank and put styling just on the floating Label to make it look like a Tab.

      Comment


        #4
        Thanks guys. I'll let you know how either approach turns out.

        Comment


          #5
          How do I embed a custom control onto a tab (as in the attachment)? Either that or overriding 'Close' icon event handler - how do I do that if that's the only way?

          Thanks.

          Comment


            #6
            There's a CloseClick event on the TabSet. As far as a custom control, you can provide TabSet-wide custom controls via tabBarControls. These won't appear on the Tab itself of course.

            Comment

            Working...
            X