User forums > General (but related to Code::Blocks)

Any way to extend the "build target" select box

(1/1)

teto:
Hi,

Just wondering if there were any script I could modify - if it's not hardcoded - to change the size of the build target select box. I compile libraries with rather long target names and I can't distinguish between the targets. Or maybe display the full target name elsewhere, for example in the main title bar before "codeblocks svn build". When you have several projects open, it could help knowing which one is active.

Btw I noticed  that with several projects opened, if you have a file belonging to one of the project you can't right click on its tab and choose "Add to active project" even if the active project doesn't have this file.

Anyway thank you a lot for your work, Codeblocks has been more and more enjoyable those past years.

nb: I use nightlies.

p2rkw:
Yea, c::b is great :) Sure u can change size of this bar. In main CB directory go to share\CodeBlocks extract compiler.zip wherever you want, and change just extracted file: "compiler_toolbar.xrc" or "compiler_toolbar_16x16.xrc" :


--- Code: ---<object class="wxChoice" name="idToolTarget">
      <content/>
 <size>136,-1</size>
    </object>
--- End code ---
You need to change size value '136' to greater. Then pack all files in directory to file compiler.zip and move this file to share\CodeBlocks

MortenMacFly:

--- Quote from: p2rkw on February 29, 2012, 08:00:00 pm ---You need to change size value '136' to greater. Then pack all files in directory to file compiler.zip and move this file to share\CodeBlocks

--- End quote ---
Hmmm... good catch! Actually I was just abut to say you need to compile C::B yourself, but that should do it, indeed!

teto:
Indeed it worked great. Many thanks.

Navigation

[0] Message Index

Go to full version