> > On 31 Jan 2009, at 17:44, Jo=E3o Ricardo Louren=E7o 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 =20 > > that does the job. > > > > At the moment, I'm creating a button and placing it at the end of =20 > > my window, in the same place the tabs are. The problem is that the =20 > > Tabs eventually go on top of the button. > > > > Is there a way to limit the width of a TabGroup's tabs? Let me =20 > > rephrase that. I want the selected tab to fill up the whole size of =20= > > > a window, but I need to free 25 px from the TabViewer/Selector, to =20 > > insert the close-tab Button. > > > > My initial idea was to mess with the pager using update_positions=20 > > (), but I can't seem to get it to work, maybe I am missing some =20 > > 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... > > > >
Thanks, I've looked at it, but I'm wondering if there really isn't any easier way of getting there. Is there? Maybe pagers? If there isn't, I guess it's up to me to start learning how to draw in fltk to alter the tabs completely. Thanks, João
_______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

