From f876ed213b880c3d31c09cbe39e2ecf5a7f90c1e 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(+) diff --git a/sensors-applet/prefs-dialog.c b/sensors-applet/prefs-dialog.c index 17c272c..a664fe0 100644 --- a/sensors-applet/prefs-dialog.c +++ b/sensors-applet/prefs-dialog.c @@ -469,6 +469,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