User forums > Help

Build target window not resizing correctly.

<< < (5/6) > >>

oBFusCATed:
Have you tried to debug cb and see what is the value of width?

stahta01:

--- Quote from: oBFusCATed on July 06, 2014, 12:32:34 pm ---Have you tried to debug cb and see what is the value of width?

--- End quote ---

Trying for my forth time using wxWidgets 2.8; first three got the below message.


--- Code: ---Program received signal SIGSEGV, Segmentation fault.
In _pthread_cleanup_dest () (E:\OpenSourceCode\Apps\IDEs\CodeBlocks\codeblocks_custom_build\src\devel\share\codeblocks\plugins\xpmanifest.dll)

--- End code ---

wx 3.0.0 width is 165

Tim S.

stahta01:
After about 8 tries got this

wx 2.8.12 width is 150

So, the width value is NOT that much difference between wx 3.0.0 and wx 2.8.12.

Tim S.

oBFusCATed:
Ok, but the width of the control on your screen shot is just 100. So the SetMinSize has no effect. Can you try to replace it with SetSize()? (I'm just guessing here)

stahta01:

--- Quote from: oBFusCATed on July 07, 2014, 01:35:55 am ---Ok, but the width of the control on your screen shot is just 100. So the SetMinSize has no effect. Can you try to replace it with SetSize()? (I'm just guessing here)

--- End quote ---

Just did that very weird results.

https://github.com/stahta01/cb_misc/blob/master/Notes/SetSize.png

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version