On 31 Jan 2009, at 17:44, João Ricardo Lourenço wrote: > Greetings to all. > > First of all, thak you for your intenseive work on FLTK. > > Onto my problem. > > As there is no close-tab button, I am trying to implement a button > that does the job. > > At the moment, I'm creating a button and placing it at the end of > my window, in the same place the tabs are. The problem is that the > Tabs eventually go on top of the button. > > Is there a way to limit the width of a TabGroup's tabs? Let me > rephrase that. I want the selected tab to fill up the whole size of > a window, but I need to free 25 px from the TabViewer/Selector, to > insert the close-tab Button. > > My initial idea was to mess with the pager using update_positions > (), but I can't seem to get it to work, maybe I am missing some > info on how to use it. > > Is there any other way to do this?
Greg has an example of doing custom tab styles here: http://www.seriss.com/people/erco/fltk/Fl_Gel_Tabs/ It's not what you want, but it may show you how you might get there... _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

