0.86/Notes: Difference between revisions
m →Widgets |
|||
| Line 78: | Line 78: | ||
=== Widgets === | === Widgets === | ||
* '''New Toolbars:''' Sugar has switched to a new toolbar design. The simplest example can be found in the [http://git.sugarlabs.org/projects/hello-world/repos/mainline/blobs/master/activity.py#line44 hello world] activity. If you want to group functionality into a secondary toolbar you can have a look at the [http://git.sugarlabs.org/projects/terminal/repos/mainline/blobs/master/terminal.py terminal activity]. To have a consistent layout over activities please group the edit and view toolbar to the left. The items on the toolbar should be left | * '''New Toolbars:''' Sugar has switched to a new toolbar design. The simplest example can be found in the [http://git.sugarlabs.org/projects/hello-world/repos/mainline/blobs/master/activity.py#line44 hello world] activity. If you want to group functionality into a secondary toolbar you can have a look at the [http://git.sugarlabs.org/projects/terminal/repos/mainline/blobs/master/terminal.py terminal activity]. To have a consistent layout over activities please group the edit and view toolbar to the left. The items on the toolbar should be aligned to the left. | ||
* '''New Share button''': If your activity does not support collaboration you can set the activity class member max_participants to '1' which makes the share button insensitive. | * '''New Share button''': If your activity does not support collaboration you can set the activity class member max_participants to '1' which makes the share button insensitive. | ||