GNOME Bugzilla – Bug 750631
GtkAssistant: Allow to set a page with no padding
Last modified: 2015-06-15 01:30:59 UTC
Created attachment 304853 [details] Screenshot showing how the padding can be annoying Being able to remove the padding surrounding a page would be really useful when the page is a big complex widget like GtkFileChooserWidget.
I'm sorry to say that I don't think embedding a file chooser like that in the assistant makes a lot of sense. You end up with two sidebars, just to name one issue.
The file chooser may not be the best example, I just haven't yet found a better way to display it in an assistant without triggering a dialog out of the assistant (a dialog from a dialog doesn't seem to be great design-wise). But I'm pretty sure this example is good enough: having a notification bar (or an info bar) in a page. I'll attach an example from Boxes' wizard.
Created attachment 305117 [details] Boxes' wizard displaying a notification bar on top of its page. Another example of why being able to disable the padding could be nice: I want to port Boxe's wizard to GtkAssistant, but Boxes take advantage of having all the space it want to add a notification bar to its wizard. It currently can't be done in a nice way with GtkAssistant.
Created attachment 305129 [details] [review] assistant: Drop hardcoded padding This means the pages themselves will be responsible for setting suitable padding.
Unfortunately, I'm not convinced this is compatible enough - it will visually break quite a few assistants out that that assume the padding.
Attachment 305129 [details] pushed as cfd85de - assistant: Drop hardcoded padding