dojo / widgets

:rocket: Dojo - UI widgets.
https://widgets.dojo.io
Other
88 stars 66 forks source link

Toolbar: Should apply flex layout to menu items #670

Closed tomdye closed 5 years ago

tomdye commented 5 years ago

Enhancement

It is currently down to the widget user to implement a layout for their links when using the toolbar. This means that they must manually add classes etc to layout their links differently between the header and the slide pane.

We should change the toolbar to automatically layout the toolbar children using flex-direction: row for the toolbar and flex-direction: column for the slide pane.

msssk commented 5 years ago

flex-direction: column for the slide pane.

This seems like something we want to do specifically for Toolbar, correct? As in, this style only applies for a slide pane that is in a Toolbar, and not a style we want to apply to the slide pane widget source.

How do I modify the theme within Toolbar that is passed to SlidePane to achieve this?