Toolbar button vertically on the right


I would like to know if there is any way to put the toolbar vertically on the right of the window.
In fact, I achieve this using some CSS, but the main issue is with the sceneModePicker. The drop down is performed vertically and I want it horizontally.

Is there any way to configure the sceneModePicker to perform the drop down horizontally ?

What I have

What I need

Thanks for your help.

Hi @kevin.gross,

I don’t believe there is a default way to chance the dropdown behavior of the scene mode picker. You may be able to tweak the CSS fro .cesium-sceneModePicker-visible to adjust the layout. I haven’t tried it out myself, but you may be able to take advantage of the flow layout to change the structure.

Or, if you need a completely custom UI, it would be possible to implement similar functionality in your own widget or component.