[gtk] Set max width of tour description widget (Gtk3 compatibility)

It's too wide with Gtk3.
pull/950/head
Hleb Valoshka 2021-04-14 21:10:57 +03:00
parent a84958355a
commit 2efdd54233
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ void dialogTourGuide(AppData* app)
td->descLabel = gtk_label_new("");
gtk_label_set_line_wrap(GTK_LABEL(td->descLabel), TRUE);
gtk_label_set_justify(GTK_LABEL(td->descLabel), GTK_JUSTIFY_FILL);
gtk_label_set_max_width_chars(GTK_LABEL(td->descLabel), 40);
gtk_box_pack_start(GTK_BOX(content_area), td->descLabel, FALSE, FALSE, 0);
const DestinationList* destinations = app->core->getDestinations();