fix TextView size allocation (bug #635)

This commit is contained in:
yggverse 2025-01-22 12:26:20 +02:00
parent a31afe2de4
commit 8059acd0e8
2 changed files with 2 additions and 0 deletions

View file

@ -40,6 +40,7 @@ impl Form {
.build();
text_view.insert_action_group("spelling", Some(&adapter));
text_view.set_size_request(-1, 38); // @TODO [#635](https://gitlab.gnome.org/GNOME/pygobject/-/issues/635)
// Init events
text_view.buffer().connect_changed(move |_| {

View file

@ -40,6 +40,7 @@ impl Form {
.build();
text_view.insert_action_group("spelling", Some(&adapter));
text_view.set_size_request(-1, 38); // @TODO [#635](https://gitlab.gnome.org/GNOME/pygobject/-/issues/635)
// Init events
text_view.buffer().connect_changed(move |_| {