News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

AutoVersioning changes log window appears too small

Started by k1mgy, June 18, 2010, 10:37:02 PM

Previous topic - Next topic

k1mgy

Code::Blocks build 6271

When I invoke the AutoVersioning changes window: Project... Changes Log, the window that appears is very small.  I have to re-size it each time plus set the width of the list columns so they are visible.



Rather annoying. 

It may be related to occasional messup of the Code::blocks search dialog.  I don't yet know why but once in a while this dialog will open with very wide fields that require using the scroll bar to locate to the start of the search/replace fields.  As I cannot reproduce this one, can't post a report yet.


Cryogen


Hi k1mgy,

I won't say that I fixed this but I have "improved" it in my patch 2, listed here:

http://forums.next.codeblocks.org/index.php/topic,12619.0.html

I hope it helps you. :-)

Cryo.
DoxyBlocks: Now in contrib. Cool, baby.
DoxyDocs: [url="http://wxsmithaddons.sourceforge.net/docs/doxyblocks/"]http://wxsmithaddons.sourceforge.net/docs/doxyblocks/[/url]
wxSmith Add-ons: [url="http://wxsmithaddons.sourceforge.net/"]http://wxsmithaddons.sourceforge.net/[/url]
Cryo's Patchorama: [url="http://forums.next.codeblocks.org/index.php/topic,12619.0.html"]http://forums.next.codeblocks.org/index.php/topic,12619.0.html[/url]

k1mgy

Hi Cryogen,

Thank you very much!

Do you mean patch 12?

Will this go into the next nightly build?  As I have never done a patch build, perhaps better to get it in the nightly?


stahta01

Quote from: k1mgy on June 21, 2010, 07:42:40 PM
Hi Cryogen,

Thank you very much!

Do you mean patch 12?

Will this go into the next nightly build?  As I have never done a patch build, perhaps better to get it in the nightly?



I would guess Patch 2 "AutoVersion Changes Log GUI sizing."

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

JGM

yahh sorry for that one I didn't do a good work in that part  :) but if there is already a fix it would be nice to see it on the nightly  :D

Cryogen

#5
 Hi there,

Quote from: k1mgy on June 21, 2010, 07:42:40 PM
Thank you very much!

Do you mean patch 12?

You're welcome. No, patch 2 is right.

Quote from: k1mgy on June 21, 2010, 07:42:40 PM
Will this go into the next nightly build?  As I have never done a patch build, perhaps better to get it in the nightly?

Probably not. I hope it will get there but the release cycle is quite slow as there's lots to get through. You do need to build from the SVN source, though, which requires some setting up and fiddling about. In the meantime you can try these:

In src\plugins\contrib\AutoVersioning\avChangesDlg.cpp, find

   SetClientSize(wxSize(700,300));

at line 46. You can adjust the dialogue size here. The patch sets it to:

   SetClientSize(wxSize(800,300));

After

   SetSizer(BoxSizer1);

at line 74, insert this to set the minimum size:

   BoxSizer1->SetMinSize(800, 200);

After

   grdChanges->AutoSize();

at line 90, add:

   grdChanges->SetColSize(0, 60);
   grdChanges->SetColSize(1, 645);


to set the column widths.

you can play with the numbers to adjust the sizes to suit.

Have fun,

 Cryo.

DoxyBlocks: Now in contrib. Cool, baby.
DoxyDocs: [url="http://wxsmithaddons.sourceforge.net/docs/doxyblocks/"]http://wxsmithaddons.sourceforge.net/docs/doxyblocks/[/url]
wxSmith Add-ons: [url="http://wxsmithaddons.sourceforge.net/"]http://wxsmithaddons.sourceforge.net/[/url]
Cryo's Patchorama: [url="http://forums.next.codeblocks.org/index.php/topic,12619.0.html"]http://forums.next.codeblocks.org/index.php/topic,12619.0.html[/url]