Code::Blocks Forums

User forums => Help => Topic started by: Spare Time Hacker on May 01, 2020, 11:06:11 am

Title: Folding Background
Post by: Spare Time Hacker on May 01, 2020, 11:06:11 am
Hi all,
Just switched to a complete new computer, with from the scratch installation.
System is Kubuntu 20.04 with C::B as listed below.

I'd like to know how to set the background of the vertical bar of the folding in the editor window. It shows a grid background (see attached screenshot) making the folding rather difficult to read. I appreciate your help.

Thanks a lot in advance!


Quote
Name             : Code::Blocks
Version          : 20.03-r11997
SDK Version      : 2.0.0
Scintilla Version: 3.7.5
Author           : The Code::Blocks Team
E-mail           : info@codeblocks.org
Website          : http://www.codeblocks.org

wxWidgets Library (wxGTK port)
Version 3.0.4 (Unicode: wchar_t, debug level: 1),
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.14.
Title: Re: Folding Background
Post by: oBFusCATed on May 01, 2020, 11:33:02 am
Hm, I guess you're on a high dpi monitor. What is the dpi of your monitor?

To change the colours go to Settings -> Environment -> Colours -> Editor : Margins XXX.
Title: Re: Folding Background
Post by: Spare Time Hacker on May 02, 2020, 09:55:11 am
Thanks for your assistance.
Yeah, you're right I'm using a highres monitor at 3840 x 2160. However, with the settings Editor : Margin chrome colour and Editor : Margin chrome highlight colour I can set what appeares grey in my screenshot but the black grids are still the same.
Title: Re: Folding Background
Post by: oBFusCATed on May 02, 2020, 12:36:21 pm
Are you saying that the black grid doesn't disappear if you set both margin colours to the same value?

What is the size of the monitor you use? Or the DPI or the scaling factor?
Unfortunately I have to use a low-dpi monitor at the moment, so I cannot test this.
Would it be possible to log this in the issue tracker at sf.net, so we don't forget about it?
Title: Re: Folding Background
Post by: Spare Time Hacker on May 02, 2020, 06:45:53 pm
Quote
Are you saying that the black grid doesn't disappear if you set both margin colours to the same value?
Exactly. If I set both colours to blue the grey squares turn to blue surrounded by the black grid (see new attached image). If set to different colours, it seems to become a mix of both colours.

Display Data:
Title: Re: Folding Background
Post by: oBFusCATed on May 02, 2020, 06:48:02 pm
Would it be possible to build the stc wxWidgets sample from wx-master and test it?
Title: Re: Folding Background
Post by: Spare Time Hacker on May 02, 2020, 06:49:47 pm
To be honest, I have no clue how to do that  ;D.
Title: Re: Folding Background
Post by: oBFusCATed on May 02, 2020, 08:38:54 pm
1. Download wxwidgets with git
2. run git sudmodule update --init or similar
3. setup a build folder
4. run configure
5. cd sample/stc
6. run make
7. run ./stcdemo or similar.
Title: Re: Folding Background
Post by: Spare Time Hacker on May 03, 2020, 10:06:05 am
Okay, will try. Give me some time. Will comeback to you.
Title: Re: Folding Background
Post by: Spare Time Hacker on May 03, 2020, 11:12:46 am
Just FIY because it was the easiest thing to do.

I reset the display scaling to 100% and the folding appearance is fine. Then I tried 200% and get the same issue. However 100% scaling is not working for me it, everything is way too small to read.
Title: Re: Folding Background
Post by: oBFusCATed on May 03, 2020, 12:20:19 pm
Please log an issue on the sf.net ticket tracker.
Title: Re: Folding Background
Post by: Spare Time Hacker on May 03, 2020, 07:18:29 pm
Ticket done and thanks again for looking in that matter.
Title: Re: Folding Background
Post by: oBFusCATed on May 03, 2020, 09:00:47 pm
I don't plan to look at this at the moment. I'm waiting for a critical mass of gtk3 related issues to gather.