Skip to content

Conversation

@amartya4256
Copy link
Contributor

This PR handles scaling of ImageList in a table on DPI_CHANGE event by destroying the current imagelist and recalculating the height of the table item and then creating a new imagelist using the new size.

How to test:

  • Start a table with checkboxes at 250% zoom
  • Move to a different zoom (more and less than 250)
  • The spacing between the table items should be consistent.

Before:
image

After:
image

@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2025

Test Results

  118 files  ±0    118 suites  ±0   16m 40s ⏱️ - 1m 6s
4 653 tests ±0  4 634 ✅  - 2  19 💤 +2  0 ❌ ±0 
  338 runs  ±0    334 ✅ ±0   4 💤 ±0  0 ❌ ±0 

Results for commit 521d007. ± Comparison against base commit 28bb9b4.

This pull request skips 2 tests.
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser ‑ test_setUrl_remote_with_post
org.eclipse.swt.tests.junit.Test_org_eclipse_swt_browser_Browser_IE ‑ test_setUrl_remote_with_post

♻️ This comment has been updated with latest results.

This commit handles scaling of ImageList in a table on DPI_CHANGE event
by destroying the current imagelist and recalculating the height of the
table item and then creating a new imagelist using the new size.
@amartya4256 amartya4256 force-pushed the amartya4256/fix_tableItem_scaling branch from b35bfd4 to 521d007 Compare November 20, 2025 15:37
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.

The check buttons look very apart from each other in Preference Dialog (Multiple places)

1 participant