0.86/Notes: Difference between revisions
→Widgets: add link for new share button design |
|||
| Line 87: | Line 87: | ||
=== 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''': The design of the share button has changed ( | * '''New Share button''': The design of the share button has changed ([[0.86/Notes#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. | ||
=== API === | === API === | ||