Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
dev:hig:panel-plugins [2012/05/09 14:21] andrzejrdev:hig:panel-plugins [2012/05/25 15:51] – [Labels] typo killermoehre
Line 68: Line 68:
 Labels should be oriented horizontally in the horizontal and deskbar mode and vertically (rotated clockwise) in the vertical mode. Labels should be oriented horizontally in the horizontal and deskbar mode and vertically (rotated clockwise) in the vertical mode.
  
-(RFC) For consistency with orther panel plugins and for good aligning of plugins in the panel, I'd suggest aligning all labels to the left edge of the plugin, or icon, if present. Currently many plugins center their labels, which looks poorly in the deskbar mode, or if multiple rows are used in other modes.+(RFC) For consistency with other panel plugins and for good aligning of plugins in the panel, I'd suggest aligning all labels to the left edge of the plugin, or icon, if present. Currently many plugins center their labels, which looks poorly in the deskbar mode, or if multiple rows are used in other modes.
  
 If plugin displays multiple rows of labels, it should preserve their native spacing (e.g. vbox with labels should be wrapped with a GtkAdjustment widget to prevent expanding the box). If plugin displays multiple rows of labels, it should preserve their native spacing (e.g. vbox with labels should be wrapped with a GtkAdjustment widget to prevent expanding the box).
Line 99: Line 99:
     * They will never be properly aligned across rows (we could try putting them between the icon and the labels but what if there is no icon?).      * They will never be properly aligned across rows (we could try putting them between the icon and the labels but what if there is no icon?). 
     * It would be nice to use the above design in the deskbar mode as well, but currently if the number of rows is 1, labels and progress bars wouldn'd fit next to the icon.     * It would be nice to use the above design in the deskbar mode as well, but currently if the number of rows is 1, labels and progress bars wouldn'd fit next to the icon.
 +    * It would be nice if the monitor plugin could display only an icon and still be useful (have the gauge displayed on it) - not too different from the mixer plugin.
  
 +The above would result in the following layout (mockup):
 +
 +{{http://img837.imageshack.us/img837/2050/horizontal.png}}
 +
 +In a horizontal panel.
 +
 +{{http://img85.imageshack.us/img85/9162/deskbar.png}}
 +
 +In a deskbar.
 +
 +Note that the icons/labels are aligned wrt. each other, and that the monitor is still usable even if only icon is displayed.
 ===== Panel properties ===== ===== Panel properties =====