Author Topic: Environment settings not resizing at all  (Read 3691 times)

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1560
Environment settings not resizing at all
« on: February 01, 2017, 10:09:46 am »
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Environment settings not resizing at all
« Reply #1 on: February 02, 2017, 12:05:26 am »
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!]

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Environment settings not resizing at all
« Reply #2 on: February 02, 2017, 11:21:59 am »
Can confirm this bug on windows 7 latest trunk wx2.8

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Environment settings not resizing at all
« Reply #3 on: February 02, 2017, 11:22:55 am »
I'll push the patch soon...
(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!]

Offline ridge

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Environment settings not resizing at all
« Reply #4 on: February 03, 2017, 01:31:59 am »
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.
« Last Edit: February 04, 2017, 01:48:45 am by ridge »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Environment settings not resizing at all
« Reply #5 on: February 03, 2017, 08:39:21 am »
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!]

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1560
Re: Environment settings not resizing at all
« Reply #6 on: February 03, 2017, 09:49:01 am »
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.

Code
<?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>
...

Offline ridge

  • Multiple posting newcomer
  • *
  • Posts: 17
Re: Environment settings not resizing at all
« Reply #7 on: February 04, 2017, 01:40:02 am »
Yes, I did mine.  (However, everyone installing CodeBlocks on Mac will have to do it, too.)