Summary: | Changing the view toolbar icons in the application model scretches the image | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Lars Vogel <Lars.Vogel> | ||||||||
Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||||||
Status: | NEW --- | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | CC: | Lars.Vogel, loskutov, platform-swt-inbox, rolf.theunissen | ||||||||
Version: | 4.22 | ||||||||||
Target Milestone: | --- | ||||||||||
Hardware: | PC | ||||||||||
OS: | Windows 10 | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Lars Vogel
2021-10-20 04:27:25 EDT
Created attachment 287354 [details]
Screenshot
Created attachment 287355 [details]
Screenshot after we dynamically change the icon
Created attachment 287356 [details]
Example project
Example project. Import and call the about menu entry to trigger the icon update in the toolbar.
Rolf, IIRC you already worked on a similar issue. Any idea how to fix this? I actually does update the image but the image is scretched to the original size. One workaround it so remove all toolitems and add them again. I believe this is/was SWT limitation, that all image sizes in the toolbar are aligned to the size of the first image. Might be another regression of Bug 574641 too. The height related issue is Bug 471313. |