Skip to content

[Gtk4] Fix ToolItem image size by using GtkPicture instead of GtkImage#3328

Open
akurtakov wants to merge 1 commit into
eclipse-platform:masterfrom
akurtakov:toosmallimage
Open

[Gtk4] Fix ToolItem image size by using GtkPicture instead of GtkImage#3328
akurtakov wants to merge 1 commit into
eclipse-platform:masterfrom
akurtakov:toosmallimage

Conversation

@akurtakov
Copy link
Copy Markdown
Member

GTK4 works in logical points while Cairo works in pixels, causing images to appear smaller at HiDPI scaling. Using GtkPicture (instead of GtkImage)
correctly maps the pixbuf to the right display size.

This is the same fix applied to Button
(#3323 ) and Label
(#2766 ) for the same reason.

GTK4 works in logical points while Cairo works in pixels, causing images
to appear smaller at HiDPI scaling. Using GtkPicture (instead of
GtkImage)
correctly maps the pixbuf to the right display size.

This is the same fix applied to Button
(eclipse-platform#3323 )
and Label
(eclipse-platform#2766
) for the same reason.
@github-actions
Copy link
Copy Markdown
Contributor

Test Results (linux)

   90 files   -  4     90 suites   - 4   14m 38s ⏱️ +13s
4 597 tests ± 0  4 372 ✅  -  1  224 💤 ±0  1 ❌ +1 
3 311 runs   - 72  3 238 ✅  - 70   71 💤  - 4  2 ❌ +2 

For more details on these failures, see this check.

Results for commit b262635. ± Comparison against base commit 823aeba.

Copy link
Copy Markdown
Contributor

@jonahgraham jonahgraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved (for when master reopens)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants