Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a Gtk.ScrollingWindow to the Release notes dialog (issue #2033) #2251

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

edwood-grant
Copy link
Contributor

@edwood-grant edwood-grant commented Jan 16, 2025

Short summary

This aims to fix #2033

Added a Gtk.ScrolledWindow inside the release notes window. This has a fixed size that will show a scrollbar if the notes go beyond the expected size and avoid extra large release notes windows.

Tests

I managed to reproduce this on the Colorful app

Before:

Colorful Before

After:

Colorful After

I tested other apps with different release notes layouts, and they worked ok, although none of them had the extremely long window height that Colorful had.

Other notes

The Gtk.ScrolledWindow has a bit hardcoded part on width_request and height_request set 400x320. Not sure if this could be a good solution, given my not broad knowledge on GTK4. If anyone has a better idea here, please, let me know to amend this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

What's new window height issue
1 participant