Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

toolbar bottom edge is not shown corectly under C::B build with wx git master

<< < (4/7) > >>

ollydbg:
@cacb: In your Linux's screen shot:

So, the toolbar have both spaces in the top and bottom edges, you expect those edges should be smaller, right?

oBFusCATed:
@cacb: Sorry, I've asked the wrong question - it should have been - "What gtk theme are you using?"

This is what affects drawing of such controls.
Can you also try the auidemo sample or some other wxwidgets sample to verify that the problem happens there, too?
I'm sure it will happen.

Edit: What is the resolution of you display?

ollydbg:

--- Quote from: oBFusCATed on March 12, 2017, 04:01:37 pm ---Can you also try the auidemo sample or some other wxwidgets sample to verify that the problem happens there, too?

--- End quote ---
The wx demo's should not have such issue(I have tested under Windows about one year before), because this issue is caused by our customized xrc loader, see discussion in this thread before(you can see the previous posts).

The wx guys are adding more vertical spaces as in wx 3.0+ compared with wx 2.8.12. This is because we more large screen resolutions nowadays(for me, I'm using a 1920x1080 for 14 inch screen), so people don't care about the added one or two pixels. But for a low resolution screen(as I have an old laptop which is 1280x800 for 14 inch screen), adding one or two space pixesl in the vertical edge may not look good, since the toolbar may looks too high in the vertical direction.

cacb:

--- Quote from: ollydbg on March 12, 2017, 03:43:21 pm ---So, the toolbar have both spaces in the top and bottom edges, you expect those edges should be smaller, right?

--- End quote ---
Yes, that is correct. This becomes problematic when there is also extra space used left & right of each toolbar item, making the toolbars extra wide. Because they are extra wide, you really need two rows of toolbars, but then you lose twice as much vertical space. So it really adds up.

Ideally, I would like something much more compact (like on Windows). The toolbars were always using more space on linux than windows but it became much more noticeable when I moved from Kubuntu 15.10 (+C::B compiled with wx 2.8.12) to Kubuntu 16.10 (+C::B compiled with wx 3.0)

cacb:

--- Quote from: oBFusCATed on March 12, 2017, 04:01:37 pm ---@cacb: Sorry, I've asked the wrong question - it should have been - "What gtk theme are you using?"
This is what affects drawing of such controls.

--- End quote ---

It is just the default KDE desktop under Kubuntu 16.10, I think that is "plasma". Is that an answer? I don't have that computer available right now, will try to check tonight.


--- Quote from: oBFusCATed on March 12, 2017, 04:01:37 pm ---Can you also try the auidemo sample or some other wxwidgets sample to verify that the problem happens there, too?
I'm sure it will happen.

--- End quote ---

I will check this and get back to you. Btw, I have a couple of wx GUI applications I have written myself that is using AUI toolbars, and I do not see such issues there, the toolbars are ok. But I will try the auidemo also.

As far as I could tell from browsing the C::B source for the code completion plugin, the C::B toolbars are based on wxToolbar, not wxAuiToolbar, not sure if it makes any difference.


--- Quote from: oBFusCATed on March 12, 2017, 04:01:37 pm ---Edit: What is the resolution of you display?

--- End quote ---

I believe it is 1920x1200, will check later.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version