User forums > Help

another issue with C::B and wXwidgets svn on OSX

(1/4) > >>

warpino:
Hi all,

I successfully built and installed code blocks svn with wxWidgets svn on OSX 10.11: http://forums.codeblocks.org/index.php/topic,20862.msg142429.html#msg142429

Everything works quite fine for my purpose, although I am experiencing an annoying issue: I am not able to resize the "Environment Settings" window, therefore I cannot edit the field "Terminal to launch console programs", for instance. The other settings windows seem to behave properly.

Any way I can solve this?

Best,

w

ollydbg:
Please try this fix, it just add some style properties to the dialog.

--- Code: --- src/src/resources/env_settings.xrc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/src/resources/env_settings.xrc b/src/src/resources/env_settings.xrc
index 597ce97..67bd03c 100644
--- a/src/src/resources/env_settings.xrc
+++ b/src/src/resources/env_settings.xrc
@@ -3,6 +3,7 @@
  <object class="wxScrollingDialog" name="dlgEnvironmentSettings">
  <title>Environment settings</title>
  <centered>1</centered>
+ <style>wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxMAXIMIZE_BOX</style>
  <object class="wxBoxSizer">
  <orient>wxVERTICAL</orient>
  <object class="sizeritem">

--- End code ---

MortenMacFly:
Note that this is rather easy w/o recompilation:
* search for the file "resources.zip" in the shared resource folder of C::B
* extract it to a temp. folder
* see for the file env_settings.xrc
* open it in an editor
* search for the passage in the file
* add the line as mentioned line (w/o the plus in front)

@ollydbg: I wonder what effect this has on other platforms, btw...

ollydbg:

--- Quote from: MortenMacFly on February 09, 2016, 08:12:19 am ---@ollydbg: I wonder what effect this has on other platforms, btw...

--- End quote ---
With this patch, I can resize the dialog under Windows XP.
But from my point of view, without this patch, the dialog should at least show everything of the wxListbook's panel.
I don't have other platforms at hand.

oBFusCATed:
For me on linux it does:
1. no difference in wx30 - the dialog can be resized only horizontally with/without the patch
2. allows the dialog to be resized in wx28, but again only horizontally.

By horizontally I mean that even if I resize it vertically the contents doesn't resize, just the window. I can provide a screen shot if it is not clear what I mean.

Navigation

[0] Message Index

[#] Next page

Go to full version