Am 10.03.2008 um 14:42 schrieb Pavel Sanda:

Author: sts
Date: Mon Mar 10 14:02:57 2008
New Revision: 23626

URL: http://www.lyx.org/trac/changeset/23626
Log:
* center the line in the layout category headers in the middle of the lowercase chars
   * some messages for the statusbar
   * configuration option for grouping of the layouts
* put category headers above the first item of each category in the
     layout list.
     To avoid scrolling we have to sneak in space for the headers.
     So we tweak this value accordingly. It's not nice, but the
     only possible way it seems.

Note 1: Because QComboBox uses the "first row's height * rowCount" to
   estimate the height of the popup, we have to fake some extra pixel
   lines to avoid scrolling because of the extra space taken by the
headers. This is a hack, but I don't see a better way to establish that.

i dont know how does it look on your mac, but there are still problems here.
1. the height of every item is way tooo much - look on attachment.

This should not be. Will investigate. On Mac it's fine, on Linux with clean look as well. I hope this is solvable.

2. some additional space remain on the bottom.

That's known and probably not fixable until Qt's QComboBox supports non-uniform-height items.

3.. sorting in grouped version is not right.

What is wrong?

the point 1. is the most annoying.

   * remove checkbox in layout menu

thanks

pavel
<layout.jpg>

Reply via email to