User forums > Using Code::Blocks
Debugger Initialization Command is frozen
oBFusCATed:
Hm, this should have been fixed long ago.
Search the forum for a manual way to fix it or how to install a night build.
blauzahn:
I also observed the collapsed height of the input-field at a fairly recent svn (few weeks ago) on Ubuntu 12.04 when I tried to play with gdb pretty print.
As a quick and dirty ad-hoc fix I opened the dialog via cb-wxsmith and changed the height of the field before I compile cb from scratch.
I always compile cb with gnu-autotools.
oBFusCATed:
blauzahn: Can you try to apply the same fix to debugger_options_dlg.xrc file as done in rev 7579 to the select_target.xrc?
--- Code: ---Index: src/plugins/debuggergdb/resources/debugger_options_dlg.xrc
===================================================================
--- src/plugins/debuggergdb/resources/debugger_options_dlg.xrc (revision 9239)
+++ src/plugins/debuggergdb/resources/debugger_options_dlg.xrc (working copy)
@@ -63,11 +63,12 @@
</object>
<object class="sizeritem">
<object class="wxStaticBoxSizer">
- <label>Debugger intialization commands</label>
+ <label>Debugger initialization commands</label>
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<object class="wxTextCtrl" name="txtInit">
<style>wxTE_MULTILINE</style>
+ <minsize>200,100</minsize>
</object>
<flag>wxBOTTOM|wxEXPAND|wxALIGN_LEFT|wxALIGN_CENTER_VERTICAL</flag>
<border>5</border>
--- End code ---
Something like this....
blauzahn:
--- Code: ---<minsize>200,100</minsize>
--- End code ---
did not help. As this does not show up in wxSmith I changed it directly (wx2.8.12).
Changing Fixed min size on wxTextCtrl and/or wxStaticBoxSizer had no effect either.
If I insert instead at the very same spot:
--- Code: ---<size>-1,25</size>
--- End code ---
the TextCtrl gets a sufficient height but does not expand of course. I can live with that. To stay a bit more device independent
one should prefer Dialog Units or something like that.
Alternatively, leaving out multiline works as well since one line has a well defined height (DoGetBestSize?).
This is reproducable (back and forth).
configure: SVN revision 12.11svn9239 (2013-07-29 22:56:37)
oBFusCATed:
--- Quote from: blauzahn on August 01, 2013, 10:28:41 pm ---
--- Code: ---<minsize>200,100</minsize>
--- End code ---
did not help. As this does not show up in wxSmith I changed it directly (wx2.8.12).
Changing Fixed min size on wxTextCtrl and/or wxStaticBoxSizer had no effect either.
--- End quote ---
Have you applied my patch, then make && make install or building from codeblocks and running cd src/ && ./update?
Using size is not an option. Min size have fixed it in the other place.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version