Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
dev:hig:panel-plugins [2012/06/03 19:06] – [Size] mike | dev:hig:panel-plugins [2012/06/14 15:06] – [Widgets padding/size] landry | ||
---|---|---|---|
Line 135: | Line 135: | ||
==== Size ==== | ==== Size ==== | ||
- | Two category of sizes can be distinguished for the panel: small and large size. | + | The panel can be made from 16px tall to 128px tall, multiplied by the amount of rows : that makes a lot of combinaisons to test when designing an UI for a plugin, |
- | === Padding | + | ==== Widgets padding/ |
- | | + | Widgets padding/ |
- | * When displaying a frame around the plugin, the padding | + | |
+ | | ||
+ | * When displaying a frame around the plugin, the border | ||
+ | * Plugins can set a default spacing between children in the container via the //spacing// parameter to '' | ||
+ | * Labels should be packed (via '' | ||
+ | * Progressbars, | ||
+ | * Progressbars should be 8px wide (when vertical, 8px tall when horizontal), | ||
+ | |||
+ | ==== event box ==== | ||
+ | If the plugin has an eventbox (to receive clicks or such), it should be made invisible to avoid problems with transparent/ | ||
+ | < | ||
+ | gtk_event_box_set_visible_window(GTK_EVENT_BOX(ebox), | ||
+ | gtk_event_box_set_above_child(GTK_EVENT_BOX(ebox), | ||
+ | </ | ||
==== number of rows ==== | ==== number of rows ==== | ||