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
panel-ui-guidelines [2007/12/16 08:17] mikepanel-ui-guidelines [2007/12/16 08:26] mike
Line 12: Line 12:
  
 ===== Draft Guidelines ===== ===== Draft Guidelines =====
 +
  
  
Line 17: Line 18:
 This text is revision 1 of this guideline. This text is revision 1 of this guideline.
  
-  * Display an image inside a button +=== Display an image inside a button === 
-    * Plugins using it: //launcher (xfce4-panel)// +  * Plugins using it: //launcher (xfce4-panel)// 
-    * Set the size of the image to:\\ ''%%size of button - MAX (GtkButton->style->xthickness, GtkButton->style->ythickness)%%''+  * Set the size of the image to:\\ ''%%size of button - MAX (GtkButton->style->xthickness, GtkButton->style->ythickness)%%''
  
-  * Display a label +=== Display a label === 
-    * Plugins using it: //menu (xfdesktop)// +  * Plugins using it: //menu (xfdesktop)// 
-    * Put the label inside a box and use a spacing of 4 on that box --- //[[mmassonnet@gmail.com|Mike Massonnet]] 2007/12/16 06:48 can we make this without a box?//+  * Put the label inside a box and use a spacing of 4 on that box --- //[[mmassonnet@gmail.com|Mike Massonnet]] 2007/12/16 06:48 can we make this without a box?// 
 + 
 +=== Mix several widgets side by side === 
 +  * Plugins using it: //xfce4-mixer, xfce4-systemload-plugin// 
 +  * Use 2px spacing between the label/icon/value/monitor/...
  
-  * Mix several widgets side by side 
-    * Plugins using it: //xfce4-mixer, xfce4-systemload-plugin// 
-    * Use 2px spacing between the label/icon/value/monitor/... 
  
  
Line 35: Line 37:
 Many plugins display a monitor and give the user the option of showing a label, a value reading, or both. For example, the systemload plugin can show labels and monitors for CPU, memory, and swap usage. Many plugins display a monitor and give the user the option of showing a label, a value reading, or both. For example, the systemload plugin can show labels and monitors for CPU, memory, and swap usage.
  
-  * Order to display the widgets starting from the left or the top according to the panel orientation +=== Order to display widgets === 
-    - Icon +The order of the widgetsstarting from the left or the top according to the panel orientation, is the following: 
-    - Name +  - Icon 
-    - Monitor +  - Name 
-    - Value+  - Monitor 
 +  - Value 
  
  
Line 45: Line 49:
 This text is revision 1 of this guideline. This text is revision 1 of this guideline.
  
-  * Display a static label on the panel to explain an interactive widget +=== Name of the plugin === 
-    * Use a short label to conserve space +  * Use a short label to conserve space 
-    * Use capitalization like a title (e.g., "My Button")+  * Use capitalization like a title (e.g., "My Button")
  
-  * Display a static label on the panel to explain a monitor +=== Name of a monitor === 
-    * Use a short label to conserve space. Abbreviations are acceptable +  * Use a short label to conserve space. Abbreviations are acceptable 
-    * Use all lowercase letters (e.g., "cpu"+  * Use all lowercase letters (e.g., "cpu"
-    * Omit spaces in acronyms and abbreviations (e.g., "mem")+  * Omit spaces in acronyms and abbreviations (e.g., "mem")
  --- //[[mmassonnet@gmail.com|Mike Massonnet]] 2007/12/16 07:13 at some point I liked to modify the systemload to show Cpu and Mem instead :-|//  --- //[[mmassonnet@gmail.com|Mike Massonnet]] 2007/12/16 07:13 at some point I liked to modify the systemload to show Cpu and Mem instead :-|//
  
-  * Display a value reading next to a monitor +=== Display a value === 
-    * Don't include too much precision (e.g., "95.324234%" is bad) +  * Don't include too much precision (e.g., "95.324234%" is bad) 
-    * Include units if they add no more than 3 characters to the string (e.g., "30min")+  * Include units if they add no more than 3 characters to the string (e.g., "30min")