Make the backend options widget be of type ScrollContainerWidget.
This will allow backends to decide whether the options dialogue
should be scrollable or not.
Note, this changes the default padding. If not changing the padding
the scrollbar might disappear. Update the padding in each backend
instead.
No specific layout was defined for the rich text widget. It tried
to use the layout of the tab widget, but that did not work properly.
The rich text widget was at the correct location, but did not have
the correct size. It was bigger than the parent tab widget, which
can be clearly seen when the scrollbar is visible.
This variable was underused, and as such, its wrong value was not noticed.
Bringing it back with the default_text dimensions.
This fixes HelpDialog font size.
The HelpButton was not added to the LauncherGrid layout nor
the vertical high-res Launcher layout (used on phones in
portrait mode). This result in an error (e.g. Unable to
load widget position for 'LauncherGrid.HelpButton'.) when
trying to start ScummVM in one of those modes.
Also bump the theme version so that it does not try to load
old themes that do not have this button either.
I received a report on Discord from fracturehill that the width I had
specified for the volume sliders in the high resolution themes (where
they have to share space with the "Mute all" checkbox) was too wide. I
don't know how to fix this properly, so I'm reverting to the old width.
The rest of the recent slider changes should be safe, so they remain
unchanged. I hope someone else will be able to fix this properly,
because I don't know how.
We currently have two widget types for sliders: "Slider" and
"WideSlider". This eliminates the latter, making all sliders use the
available space. This arguably makes them look better, and should make
them easier to manipulate on touch devices like phones.
Did I say "all"? Not quite. In the high resolution layout, the volume
sliders share space with the "Mute all" checkbox. The layout engine does
not cope well with two side-by-side layouts of indeterminate width,
apparently, so there we set a width, cross our fingers and hope that the
checkbox will still have enough space in all translations.
This can be used on handhelds where there is no browser.
The user does the login process on its desktop, saves the JSON in a file
and uploads it to its handheld through an unspecified mean and loads it
on ScummVM using this new button.
- remove Options widgets of the old wizard;
- add CloudConnectionWizard dialog;
- remove old widgets and add new ones in the layouts;
- update local webserver to allow passing a callback that needs to be called if storage was connected via /connect_cloud.