Make GtkMessageDialog fit various form factors
Currently GtkMessageDialog
works only on desktops and tablets (it's too wide on phones). To fix that issue in GTK 4, I see two options:
- making the button box adaptive, by adapting its orientation to the available screen space;
- making the button box vertical.
The 1st solution may be tricky to implement in a clean way, as if the want to dialog to take as much space as it needs, but no more. It has the advantage of not changing a thing on dektops.
The 2nd solution is easy to implement, but may look weird on desktops in extreme cases where the dialog is wide for some reason.
CC @bertob, @exalm, @snwh, @ZanderBrown
Edited by Adrien Plazas