开发者

Eclipse RCP: Combobox in toolbar gets cut up in Win7

开发者 https://www.devze.com 2023-02-12 22:27 出处:网络
I\'m currently trying to specify the size of a combobox that is placed in the toolbar of an eclipse rcp view. The combobox and its functionality works fine - no complains there. It is just the display

I'm currently trying to specify the size of a combobox that is placed in the toolbar of an eclipse rcp view. The combobox and its functionality works fine - no complains there. It is just the display that开发者_如何学编程 is wonky. Under WinXP everything looks fine, but under Win7 the bottom line of pixels of the combobox (the dark line that is the border) is missing. The combobox extends WorkbenchWindowControlContribution. I've tried to edit the margin of the parentControl and also the layout of the combobox. But so far nothing worked. The vertical size of neither the combobox nor the toolbar seem to be editable. But how do I get a complete combobox?

Or is this maybe a known bug that is unsolvable as of yet?

Thanks in advance


There is a known issue of the computeWidth not being passed to the WorkbenchWindowControlContribution.

0

精彩评论

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