I am adding widgets to my view like so:
view.add(widget1, "top-left");
view.add(widget2, "bottom-right");
I noticed that the widgets on the top regions are stacked vertically and the widgets in the bottom regions are laid out horizontally. You can see a sample here: https://codepen.io/dschontz/pen/zgErxO
Questions:
Hi David, great questions. The current behavior you are experiencing is the default behavior, and is by design. We are considering making this a configurable property at a later release.
For now, you can place additional widgets manually using css.
doc
https://developers.arcgis.com/javascript/latest/api-reference/esri-views-ui-UI.html#add
sample in action (using the "manual" position)
https://developers.arcgis.com/javascript/latest/sample-code/timeslider-filter/index.html
Hi Noah or whom that may concern -
I have a similar need and wonder if there's an update about this configuration after 4 years? That users can stack widgets added vertically at bottom-right; OR similarly, widgets at top-left with a horizontal layout.
Thanks in advance.