Am 22.01.2010 04:53, schrieb leowang: >> Am 21.01.2010 01:58, schrieb leowang: >>>> Am 20.01.2010 02:09, schrieb leowang: >>>>> Dear All, I have a browser widget in a window, and set the init item >>>>> height, now I need to change to item height when I press a button. Is >>>>> there has a API to change the browser widget item height? >>>> >>>> pBrowser->textsize(Textsize); >>> >>> This only can change the text size of the item. >> >> Yes, I realized it right after posting, also I remembered, that you are >> using FLTK 2 and so I tried to cancel the posting after a few seconds. >> Doesn't work... :o( > > No matter. :o) > > So does it means the browser widget can't adjust the item height? :o(
My posting was not completely braindead - in fact changing the textsize adjusts item height and works by pressing a button. By reading the source code of textsize() it should be possible to find out how it works. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

