开发者

Eclipse RCP: Disabled windows Icons in the Toolbar

开发者 https://www.devze.com 2022-12-18 13:23 出处:网络
I tried to use my own disabled 24*24 icons开发者_StackOverflow中文版 in a toolbar of an eclipse app.

I tried to use my own disabled 24*24 icons开发者_StackOverflow中文版 in a toolbar of an eclipse app.

The scaling of the enabled icon is fine, only the disabled icon is scaled to 16*16 standard size. I tried different Images with different sizes but as soon as its larger than 16*16 it is scaled.

This problem only occurs, if on a windows machine on an apple pc it works as intended.

Has anyone an idea how to solve that problem?


I found a solution, the first icon of the toolbar had to have the same-sized disabled image in it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号