Skip to content

Commit

Permalink
fix TextView size allocation (bug #635)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Jan 22, 2025
1 parent a31afe2 commit 8059acd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 |_| {
Expand Down
1 change: 1 addition & 0 deletions src/app/browser/window/tab/item/page/input/titan/form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 |_| {
Expand Down

0 comments on commit 8059acd

Please sign in to comment.