Skip to content

Commit

Permalink
prefs-dialog: drop unneeded space in general tab
Browse files Browse the repository at this point in the history
In result the second column of the GtkGrid will always
expand to the full grid width.
  • Loading branch information
raveit65 committed Feb 25, 2018
1 parent 5359056 commit f876ed2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sensors-applet/prefs-dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit f876ed2

Please sign in to comment.