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

Put the release notes description label inside a Gtk.Grid #2234

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

edwood-grant
Copy link
Contributor

@edwood-grant edwood-grant commented Dec 17, 2024

Short summary

This fixes #2233

This is the same issue that we had for issues, but now for the description label itself. It seems that in a Gtk.Box with wrapped labels will not do its height correctly, if there are grids abound.

Putting the label inside a Gtk.Grid will make it also respect the natural height and will fix another set of problems found in other description labels.

Another change in this PR was a small refactor to compartmentalize each widget creation in its own method. This is just for organization and refactoring purposes only.
Edit: Having methods within the constructor is not preferred, so this was set back to how it was before.

Tests

Here are tests made on the notified app issues:

Nimbus

Before:

Nimbus Before

After:

Nimbus After

Journaler

Before:

Journaler Before

After:

Journaler After

Reco

Before:

Reco Before

After:

Reco After

src/Widgets/ReleaseRow.vala Outdated Show resolved Hide resolved
italo-capasso and others added 3 commits December 27, 2024 15:20
This is the same issue that we had for issues, but now for the description label itself. It seems that in a Gtk.Box with wrapped labels will not do its height correctly, if there are grids abound.

Putting the label inside a Gtk.Grid will make it also respect the natural height and will fix another set of problems found in other description labels.
Co-authored-by: Leo <lenemter@gmail.com>
@edwood-grant edwood-grant force-pushed the italocapasso/issue-2224-round-2 branch from ff7860b to dba0ef5 Compare December 27, 2024 20:20
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.

More visual bugs in the release notes widgets
3 participants