Menu

#912 Make the control where path is selected wider

Next_Nightly
fixed
None
Bug_Report
2020-02-01
2020-01-13
No

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

1 Attachments

Discussion

  • Miguel Gimenez

    Miguel Gimenez - 2020-01-13

    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.

     
  • Teodor Petrov

    Teodor Petrov - 2020-01-13

    @Miguel: What does this patch do?

     
  • Miguel Gimenez

    Miguel Gimenez - 2020-01-13

    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
  • Teodor Petrov

    Teodor Petrov - 2020-01-19
    • summary: Add directory dialog too tight --> Make the control where path is selected wider
    • assigned_to: Teodor Petrov
    • Type: Undefined --> Bug_Report
     
  • Teodor Petrov

    Teodor Petrov - 2020-01-19

    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. :(

     
  • Teodor Petrov

    Teodor Petrov - 2020-01-19

    This is something which works well for me on 4k 27" display - wxgtk2, linux.

     
  • Miguel Gimenez

    Miguel Gimenez - 2020-01-21

    Works also in Windows 10, 1920x1080

     
  • Lieven de Cock

    Lieven de Cock - 2020-01-21

    for me this problem is already like years for this (linux), indeed very annoying.

     
  • Teodor Petrov

    Teodor Petrov - 2020-02-01
    • status: open --> fixed
     
  • Teodor Petrov

    Teodor Petrov - 2020-02-01

    Fix using GetTextExtent, which should be a bit more reliable.

     

Log in to post a comment.