Skip to main content
Jump to: navigation, search

PDE/Incubator/Picasso

< PDE‎ | Incubator
Revision as of 11:12, 7 May 2008 by Sarcher.us.ibm.com (Talk | contribs) (Tips)

Work Area

The goal of Picasso is to provide a utility to help UI debugging. Picasso does this by painting the workbench in a way to aid debugging.

Developers

  • Chris Aniszczyk
  • Simon Archer

Plug-ins

Painting with Picasso

To use Picasso, simply check it out of CVS and then launch with the tracing options enabled:

Picasso.png

Tips

By painting the workbench with Picasso you can easily spot layout issues such as:

  • Unnecessary margin padding on Composite widgets. This is typically caused by using GridLayout and not setting the marginWidth and marginHeight fields to 0.
  • Radio buttons and checkboxes that stretch to consume all available horzontal whitespace. This results in the whitespace to the right of the label being clickable. Doing this can result in the user accidentally selecting a radio button or toggling a checkbox by simply giving focus to the UI. As with push buttons, radio buttons and checkboxes (they're buttons too) should generally not stretch.
  • Inappropriate stretching and whitespace consumption.

Back to the top