Hi, No, I didn't check Apple's HIG, but thanks for the advice. I'll take a look.
Cheers, Bo On Mon, Aug 6, 2012 at 5:23 PM, Andreas Pakulat <ap...@gmx.de> wrote: > Hi, > > On Mon, Aug 6, 2012 at 12:17 PM, Bo Elmgreen <bo.elmgr...@gmail.com> > wrote: > > Hi all, > > > > I use a QFormLayout for showing a list of settings - labels with a custom > > slider widget - on a widget that has a fixed height. On Windows and Linux > > the rows seem to be added, only taking up the vertical space that they > need, > > but on MacOS the rows are distributed evenly within the space that I > > allocate to the parent widget. The application supports various languages > > and in some of these, some of the labels are wrapped. This is no problem > on > > Windows and Linux as the wrapped labels are given a bit more space than > the > > other ones, but on MacOS the wrapped labels are clipped due to the even > > distribution of the rows :-/ Does anybody have an idea as to how I could > get > > around this? I guess that I could try and put the form inside of a scroll > > area, but I would prefer to avoid any scrolling. > > Did you check wether Apple's HIG have anything to say about such > forms? IIRC the form-layout wsa introduced to render such forms in a > way that best matches the platform, so it might be that this is simply > the way forms are supposed to be done on MacOSX. > > This also means the solution to avoid the problem is to use a > different layout for your widget which has the wanted behaviour also > on MacOSX. > > Andreas > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest