In my opinion the add directory dialog is too narrow. It should be at least double the width.
This would allow you to type not too long paths directly from the keyboard.
Thank you
The static text next to the text control resizes now. This is not supposed to happen. :(
Initial test with minsize also doesn't work, at least when I set this using code and the xrc editor doesn't understand the min-size property and the next time this xrc file is edited the min-size would be lost. :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I agree the ludicrous size of the dialog makes it hardly usable. Of course it can be resized on the fly, but you must resize it every time.
The attached patch fixes the issue.
@Miguel: What does this patch do?
Makes the wxTextCtrl's width proportional to the wxStaticText's one (6 to 1)
Probably this can also be made fixing a minimum size for the control or for the dialog
EDIT: added second version of the patch setting a 320 px initial width for the wxTextCtrl and leaving proportions untouched
Last edit: Miguel Gimenez 2020-01-13
The static text next to the text control resizes now. This is not supposed to happen. :(
Initial test with minsize also doesn't work, at least when I set this using code and the xrc editor doesn't understand the min-size property and the next time this xrc file is edited the min-size would be lost. :(
This is something which works well for me on 4k 27" display - wxgtk2, linux.
Works also in Windows 10, 1920x1080
for me this problem is already like years for this (linux), indeed very annoying.
Fix using GetTextExtent, which should be a bit more reliable.