mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-11 08:20:17 +00:00
Aligned the GTK3 quit dialog checkbox to fill horizontally and stay vertically centered within the grid layout, keeping GTK2 behavior unchanged.
This commit is contained in:
@@ -1395,6 +1395,8 @@ mg_open_quit_dialog (gboolean minimize_button)
|
||||
#if HAVE_GTK3
|
||||
gtk_grid_attach (GTK_GRID (table1), checkbutton1, 0, 1, 2, 1);
|
||||
gtk_widget_set_hexpand (checkbutton1, TRUE);
|
||||
gtk_widget_set_halign (checkbutton1, GTK_ALIGN_FILL);
|
||||
gtk_widget_set_valign (checkbutton1, GTK_ALIGN_CENTER);
|
||||
#else
|
||||
gtk_table_attach (GTK_TABLE (table1), checkbutton1, 0, 2, 1, 2,
|
||||
(GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
|
||||
|
||||
Reference in New Issue
Block a user