Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: charlie on September 23, 2005, 11:22:21 am

Title: AddFiles dialog
Post by: charlie on September 23, 2005, 11:22:21 am

Hi!

I am trying to test CodeBlocks editor and now I have one complaint.
I think that dialog "Add files recursively..." should be resizable.
It will help to walk through a large directory tree.

I attached screenshot for an example of large directory tree.

Regards,
Charlie


[attachment deleted by admin]
Title: Re: AddFiles dialog
Post by: mandrav on September 23, 2005, 12:16:51 pm
This is a standard "browse-for-dir" dialog. If it's not resizable (I can't recall now), there's not much we can do about it...
Title: Re: AddFiles dialog
Post by: charlie on September 23, 2005, 12:59:16 pm
I prepared a fix for this. Check the attached patch.

Greets,
Charlie

btw.

I cannot attach the file with  .patch extension.

[attachment deleted by admin]
Title: Re: AddFiles dialog
Post by: charlie on September 23, 2005, 01:02:08 pm
Because I can't download attached patch. I post it again here:

Index: globals.cpp
===================================================================
RCS file: /cvsroot/codeblocks/codeblocks/src/sdk/globals.cpp,v
retrieving revision 1.20
diff -r1.20 globals.cpp
271c271
<     wxDirDialog dlg(parent, message, _T(""), showCreateDirButton ? wxDD_NEW_DIR_BUTTON : 0);
---
>     wxDirDialog dlg(parent, message, _T(""), showCreateDirButton ? wxDD_NEW_DIR_BUTTON | wxRESIZE_BORDER: wxRESIZE_BORDER);

Title: Re: AddFiles dialog
Post by: mandrav on September 23, 2005, 02:28:01 pm
Thanks :)