Re: gtk4: gtk_box_pack_start()/end() porting



On Wed, 2017-05-03 at 14:22 +0200, Timm Bäder wrote:
Have some container widgets changed, or lost, some default
spacing/padding/margins too? For instance, it looks like
GtkActionBar
used to have some hard-coded spacing between its child widgets
(added
via gtk_action_bar_pack_start()), but not with gtk4.

Yes, iirc GtkPopover with .menu and GtkFileChooserButton, etc. lost
their
spacing. Since GtkBox supports border-spacing via CSS now, I think
themes should handle that instead, but Adwaita doesn't care yet.

So, applications shouldn't generally need to specify any spacing at all
between child widgets in containers? For instance
- Gtk::Box::spacing
- margin of child widgets in a Gtk::ActionBar
- Gtk::Grid column-spacing and row-spacing
?

GTK 3 and GTK 4 themes are separate, right?


-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]