Join GitHub today
Support vertical layout of widgets #805
This has been a recurring feature request. Rather than laying out the widgets next to the plot it should be possible to place the widgets below the actual plot instead. This arrangement is a lot more suitable for pages that have very little space and it should not be hard to do with a small amount of css. The main question is how the user can choose between the vertical and horizontal widget arrangement.
I would vote for allowing all the location options (N,S,E,W) for the widget box -- all of those are valid arrangements, and each is useful sometimes.
There's also the issue of how the widgets are laid out in the box -- for E and W locations, laying them out in a column is probably the only reasonable choice. But for boxes in the N or S locations, 2-3 sliders lay out well horizontally, while any more than that has to be vertical, and in some cases people will want them all just to be in a single vertical column as for paramnb's Widgets() class. So I would think there are two parameters that would be needed:
widget_location: N,S,E,W (or left, right, above, below, or whatever you want to call them) (default E)
widget_layout: row, column (default column)
widget_cols: 1, 2, or 3 (default 1)
This was referenced
Oct 26, 2016
+1 ability to move widgets to top or bottom of HoloMap.
Also remember some gitter discussion:
I'd love to have official support; if difficult, I'd like to see the CSS workaround.