Code::Blocks Forums

User forums => Help => Topic started by: jarro_2783 on September 24, 2007, 03:48:20 pm

Title: margin width modifies tab width in settings
Post by: jarro_2783 on September 24, 2007, 03:48:20 pm
I tried to make my tab width 3, and the margin width got set to 48. So I set the margin width to 5 and the tab width went back to 4.

This only happens in my fedora 7 64 bit machine, it works fine on my 32 bit computer. This is using the latest svn code (revision 4486).
Anyone else getting this?
Title: Re: margin width modifies tab width in settings
Post by: stahta01 on September 24, 2007, 04:26:12 pm
What wxWidgets version?
I am a Windows person so can not help you, but this sounds like a possible wxWidgets issue.

I think that 2.8.4 is the preferred wxWidgets version at this time. 2.8.3 and 2.8.5 both have issues.

Tim S
Title: Re: margin width modifies tab width in settings
Post by: jarro_2783 on September 24, 2007, 04:29:07 pm
wx widgets is version 2.8.5.

My logic was that the two things are completely unrelated (or so I would think) so maybe changing one was messing with some memory or something and changing the other, and also in a way the only appears in 64 bit.
Title: Re: margin width modifies tab width in settings
Post by: stahta01 on September 24, 2007, 04:34:50 pm
wx widgets is version 2.8.5.

My logic was that the two things are completely unrelated (or so I would think) so maybe changing one was messing with some memory or something and changing the other, and also in a way the only appears in 64 bit.

Seems logical to me, but a Linux person had the width of the Line Numbering change with upgrading to a newer wxWidgets, I think it was 2.8.5. But, he was able to change settings in Code::Blocks to fix it.

Are you running 2.8.5 on the 32-bit system that does not have the problem?

Tim S
Title: Re: margin width modifies tab width in settings
Post by: jarro_2783 on September 24, 2007, 05:35:16 pm
I'm running 2.8.4 on the 32 bit one. Maybe I should upgrade that and see what happens.
Title: Re: margin width modifies tab width in settings
Post by: Biplab on September 24, 2007, 05:47:04 pm
This is one of the bugs that crippled wx-2.8.5 release. Please refer the following link for the bug report and the fix.

Quote
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1793012&group_id=9863

My suggestion would be to stick to wx-2.8.4 and upgrade to wx-2.8.6 when it will be released.
Title: Re: margin width modifies tab width in settings
Post by: jarro_2783 on September 25, 2007, 02:18:52 am
thanks. I'm glad you knew that, I'd never be able to work out that that particular bug in wx was the cause of the problem.