0.86/Notes: Difference between revisions

Tomeu (talk | contribs)
Erikos (talk | contribs)
Line 79: Line 79:
=== 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 aligned to the 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''': The design of the share button has changed (see What is new for users). If your activity does not support collaboration you can set the activity class member max_participants to '1' which makes the share button insensitive.


=== API ===
=== API ===