Skip to content

Commit cba90be

Browse files
author
raveit65
committed
prefs-dialog: drop unneeded space in general tab
In result the second column of the GtkGrid will always expand to the full grid width.
1 parent 15b67d2 commit cba90be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sensors-applet/prefs-dialog.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,8 @@ void prefs_dialog_open(SensorsApplet *sensors_applet) {
468468
g_free(header_text);
469469

470470
prefs_dialog->display_mode_combo_box = GTK_COMBO_BOX_TEXT(gtk_combo_box_text_new());
471+
/*expand the whole column */
472+
gtk_widget_set_hexpand(GTK_WIDGET(prefs_dialog->display_mode_combo_box), TRUE);
471473

472474
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->display_mode_combo_box), _("label with value"));
473475
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(prefs_dialog->display_mode_combo_box), _("icon with value"));

0 commit comments

Comments
 (0)