On Wed, 2017-09-13 at 10:59 +0100, Emmanuele Bassi wrote: > Why are you using a GtkDialog? You should be using a GtkWindow for a > complex UI. > > Additionally, the size of a top-level is given by its contents, > unless > you specify a size yourself. If your UI is too big, you'll have to > arrange it differently.
For a plain Window he may use of course a GtkScrolledWindow. I am not sure if that would work for a dialog too, but I think so. But of course a scrolled window with parts invisible is not really user friendly... Ruben, what do you expect when contents do not fit onto screen? And have you solved your other problem with the two dialogs following each other? I have seen a long reply of somebody to your question -- did that helped you? Next question may be how to detect that content is too large for screen, and how to shrink content. Maybe check allocation for window first. And when larger than screen, maybe reduce text size, widget size or hide some widgets. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list