C. Positioning Objects
Home ] 1. The CASLide ] 2. First Application ] 2. Floating Math ] 3. Dates and Times ] 4. Strings ] 5. Previous Program State ] 6. Data Browser ] 7. Data Entry ] 8. Conduit and Desktop Companion ] 9. Games ] 10. Graphics ] 11. Sound ] 12. Communications ] 13. Accessing Palm Databases ] 14. Distributing CASL Applications ] A. Programming Style ] B. Objects ] [ C. Positioning Objects ] D. POSE ] E. C Code ]

 

Add tips about how to use the 160x160 screen size

good text/label height is 12 pixels for normal fonts, good to space row every 16 pixels.  this would give you exactly 10 rows of space for objects (16 x 10), however because title bar needs about top 20 pixels, it's simplest to plan for 9 rows, including the title bar.  there's really only space for title bar, about 7 rows for display, and then on the bottom 9th row you'll usually put your buttons.  Buttons can be 12 pixel height buttons and keep 4 pixels from bottom.  This allows about 12 pixels between buttons and upper adjacent row.  Buttons could also be 16 pixels high.

for large fonts, 15 pixel high text/labels will work, and you could still use the 16 pixel row spacing discussed above.  If display is too crowded, then 20 pixel high row spacing works well, for a total of 8 rows, including title bar.

give lower, right hand corner that's reserved for shift indicator,  keep free on all frames if want to see.

show how to use layout toolbar buttons

show how to use move command in startup function

 

[ Top ]

© 2001, Feras Information Technology. All rights reserved.