On Tue, Feb 07, 2006 at 08:38:51PM +0100, Sebastian Werner wrote: > Stanislav Ievlev schrieb: > >Greetings! > > > >Layout engine doesn't take spacing values into account during widget size > >calculation when widget geometry is defined using percents. > > The spacing is outside the boundaries of a widget. If you define two > times 50% this is a sum of 100% plus the defined spacing of 30 pixel. But other layout systems can solve this little problem. You only need to calculate percents not using a whole height, but using (height - items* spacing - 2*margin)
I'm prefer to made such calculations with computer not in my mind ;) > > In my opinion the layout handling is completely correct in this case. > > You can try to replace "50%" with "1*" in both cases. I need more complex layouts: 30% + 30% + 1* + spacing + margin -- With best regards Stanislav Ievlev. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Qooxdoo-devel mailing list Qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel