Wednesday 20 June 2007
GSOC: tabs improved, other controls started
Par ismael, Wednesday 20 June 2007 à 22:26 :: GSOC 2007
A debate started (the starting mail) on mac@porting and discuss@ux mailing lists concerning tabs in OOo after I wrote my previous post. Indeed, on Mac OS X, there can't be several lines of tabs, and when it's the case, a popup-menu (named listbox in OOo) is used instead. So I started to modify the general implementation of tabs in VCL. At that time, the result is very unstable and really experimental, but i have a better Mac OS X behaviour for tabs: when there is only one line: normal tabs are used; when there are more than one line, a listbox is used instead.
I also worked on drawing some native controls like text edits or list boxes. For the firsts, i still have some problems: the background is transparent (so grey as windows have grey backgrounds), and the focus rect is not drawn. I have to look at it.
Concerning the second, listboxes, the button is correct, but the frame is not yet vertically centered as it should be in Mac OS X.
Example of a listbox and a text edit