« [Tip] AM/PM times | Main | [News] Servoy 4.0 Public Pre-release available »
May 06, 2008
[Tip] Table row height controls
by David Workman
Data Mosaic
Changing the row height of a table layout is not very obvious. Portals have a specific property to control this -- tables don't. Changing a field object height doesn't help nor does changing the font size.
What does affect row height is the height of any button/label objects on the table. So put a small invisible label object on your table to set the row height to other than the default 20 pixels.
CORRECTION: see comment below!
For web client, all objects in the table need to be the same height as they are all rendered individually.
On a related note: the size of the body part determines how many rows are displayed on the web client. "Chevron" page controls are automatically added if there are more records than what will fit in the size of the body part.
| Posted by David Workman on May 6, 2008 at 02:48 PM in Tips | Permalink
Comments
I think this tip is incorrect. The height of the first (leftmost) element on the row determines the height of the entire row.
Paul
Posted by: Paul | May 7, 2008 6:16:33 AM
Thanks Paul!
Posted by: David Workman | May 10, 2008 11:45:34 AM
