mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 09:53:24 +00:00
Request a minimal height for the notes in the dive edit dialog
This sould give the notes text box around 8 lines of text. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0fc089c669
commit
b2ba7917ab
1 changed files with 1 additions and 0 deletions
1
info.c
1
info.c
|
@ -868,6 +868,7 @@ static void dive_info_widget(GtkWidget *obox, struct dive *dive, struct dive_inf
|
|||
info->notes = NULL;
|
||||
} else {
|
||||
info->notes = text_view(box, _("Notes"), READ_WRITE);
|
||||
gtk_widget_set_size_request(GTK_WIDGET(info->notes), -1, 128);
|
||||
if (dive->notes && *dive->notes)
|
||||
gtk_text_buffer_set_text(gtk_text_view_get_buffer(info->notes), dive->notes, -1);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue