From cba90be59d939b2ddcf450fb9da4159fb9dfa47d Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 20 Feb 2018 19:30:14 +0100 Subject: prefs-dialog: drop unneeded space in general tab In result the second column of the GtkGrid will always expand to the full grid width. --- sensors-applet/prefs-dialog.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sensors-applet') diff --git a/sensors-applet/prefs-dialog.c b/sensors-applet/prefs-dialog.c index 1f491de..a32668b 100644 --- a/sensors-applet/prefs-dialog.c +++ b/sensors-applet/prefs-dialog.c @@ -468,6 +468,8 @@ void prefs_dialog_open(SensorsApplet *sensors_applet) { g_free(header_text); prefs_dialog->display_mode_combo_box = GTK_COMBO_BOX_TEXT(gtk_combo_box_text_new()); + /*expand the whole column */ + gtk_widget_set_hexpand(GTK_WIDGET(prefs_dialog->display_mode_combo_box), TRUE); gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->display_mode_combo_box), _("label with value")); gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->display_mode_combo_box), _("icon with value")); -- cgit v1.2.1