Xfce Wiki

Sub domains
 

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
dev:hig:panel-plugins [2012/06/13 21:14]
landry [Size]
dev:hig:panel-plugins [2012/06/14 15:06]
landry [Widgets padding/size]
Line 143: Line 143:
   * Plugins have to set their container border width with ''​gtk_container_set_border_width()''​ to 1px for a panel size < 26px and 2px otherwise. Adjust it in the ''​size-changed''​ callback, which is called anyway in the panel creation.   * Plugins have to set their container border width with ''​gtk_container_set_border_width()''​ to 1px for a panel size < 26px and 2px otherwise. Adjust it in the ''​size-changed''​ callback, which is called anyway in the panel creation.
   * When displaying a frame around the plugin, the border has to be 0px for a size of < 26px and 1px otherwise.   * When displaying a frame around the plugin, the border has to be 0px for a size of < 26px and 1px otherwise.
-  * Plugins can set a default spacing between ​childs ​in the container via the //spacing// parameter to ''​xfce_hvbox_new()''​+  * Plugins can set a default spacing between ​children ​in the container via the //spacing// parameter to ''​xfce_hvbox_new()''​
   * Labels should be packed (via ''​gtk_box_pack_start()''​ or ''​gtk_container_add()''​) with a 2px padding.   * Labels should be packed (via ''​gtk_box_pack_start()''​ or ''​gtk_container_add()''​) with a 2px padding.
   * Progressbars,​ images and buttons should be packed with a 0px padding   * Progressbars,​ images and buttons should be packed with a 0px padding