News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Environment settings not resizing at all

Started by Miguel Gimenez, February 01, 2017, 10:09:46 AM

Previous topic - Next topic

Miguel Gimenez

Regarding ticket 467 and revision 10979 fixing it, at least in my system (Windows 7 32 bits, SVN10979 with wxWidgets 2.8.12) the editor settings dialog resizes correctly, but the environment dialog does not resize at all. This is due to the absence of the <style> label.

I propose this patch to solve it.

oBFusCATed

Bleh, linux and my wm are not affected by this omission. :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

BlueHazzard

Can confirm this bug on windows 7 latest trunk wx2.8

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

ridge

#4
Confirmed that the patch also works on Mac OS X 10.11 on CB v13.12.
Request - Please patch the resource file in CB v13.12, too, since CB v16.01 is unstable on Mac.

oBFusCATed

Not going to happen... 13.12 is 3 years old... We are highly understaffed.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Miguel Gimenez

Ridge, you can patch it yourself. I can't check 13.12, but the XRS should be similar.

Go to the folder where CB is installed, then go to share/Codeblocks, open resources.zip and change env_settings.xrc adding the <style>wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</style> line, so it looks like this.


<?xml version="1.0" encoding="utf-8" ?>
<resource xmlns="http://www.wxwidgets.org/wxxrc" version="2.5.3.0">
<object class="wxScrollingDialog" name="dlgEnvironmentSettings">
<title>Environment settings</title>
<centered>1</centered>
<style>wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER</style>
<object class="wxBoxSizer">
<orient>wxVERTICAL</orient>
...

ridge

Yes, I did mine.  (However, everyone installing CodeBlocks on Mac will have to do it, too.)