Skip to content

Commit 6715497

Browse files
committed
workspace: Ensure the entry+create button fill the window horizontally.
1 parent 7141962 commit 6715497

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gui/workspace.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,15 @@ void dt_workspace_create(const char *datadir)
237237
session->entry = gtk_entry_new();
238238
g_signal_connect(G_OBJECT(session->entry),
239239
"changed", G_CALLBACK(_workspace_entry_changed), session);
240+
gtk_widget_set_hexpand(session->entry, TRUE);
240241

241242
session->create = gtk_button_new_with_label(_("create"));
242243
gtk_widget_set_sensitive(session->create, FALSE);
243244

244245
g_signal_connect(G_OBJECT(session->create), "clicked",
245246
G_CALLBACK(_workspace_new_db), session);
246247
dt_gui_box_add(box, session->entry, session->create);
248+
gtk_widget_set_hexpand(GTK_WIDGET(box), TRUE);
247249

248250
dt_gui_dialog_add(session->db_screen, l2, box);
249251

0 commit comments

Comments
 (0)