Row Height

The default DataWindow row height is fine for a mouse clicking, but is way too tiny to be tappable for a finger, therefore, you should always remember to manually set proper row height in PowerBuilder IDE if you want to allow users to manipulate data easily in your application on the mobile device. The minimum height of a Table View cell of Cocoa Touch is 44 points, and a Table View header or footer is 22 points.

Table 4. The minimum height of a Table View cell of Cocoa Touch

PB Controls

Height (in Points)

Height (in PBUs)

DataWindow: Header height & Footer height

22

88

DataWindow: Row height

44

176


The same problem exists for the row height of the items in a ListBox, DropDownListBox, ListView, or TreeView, but unlike DataWindow row height, they cannot be set in PowerBuilder, therefore, PowerServer Mobile will address this problem and will set the row height to 32 points (approximately 128 PBUs) or above automatically at runtime.