Property Page Design

Design of dialogs should follow these rules as much as possible

  • Standard dialog size is (220,240d)
  • Notebook is at 2,2d, size (216,216d)
  • Standard button size is (50,15d)
  • First control at (5,5d)
  • Standard controls are at (70,[y] d), size (135,12d)
  • Vertical constrol spacing is 15d, for radio buttons and checkboxes 12d
  • Static text has a vertical offset of 2 relative to other controls
  • Static text should be designed with 50 % space in reserve, to leave enough space for translated strings.

    As a reference, this was the older style guide:

    From: Andreas Pflug [Andreas.Pflug@web.de]
    Sent: 02 May 2003 16:47
    To: pgadmin-hackers@postgresql.org
    Subject: [pgadmin-hackers] pgadmin3 property pages design rules
    
    As a proposal, this are the sizes and positions I used so far in dlgUser 
    and dlgDatabase:
    
    - first control at (10, 10)
    - Standard controls are at (100, y) size (200, 20)
    - vertical control spacing 25, for radio buttons and checkboxes 20
    - static text has a vertical offset of 3 relative to other controls
    - standard Button size is (75, 25)
    - controls including statics will need up to 50 % more room for under GTK2 if wxWidgets 2.4 is used; 2.5 is recommended.
    - statics should be designed with 50 % space in reserve, to leave enough space for translated strings.
    
    For dialogs derived from dlgSecurityProperty, the Security page will be 
    created dynamically.
    All dialogs will inherit the SQL page from dlgProperty.
    
    
    Regards,
    Andreas