0

Hi,

I am unable to set the size of the DirPickerCtrl. The 'Browse' button is getting placed behind the textbox. Please help me out with this if anybody has worked on it.

Regards,
Dinil

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by jlm699
0

When you are calling wx.DirPickerCtrl( ) simply place the size that you want in the initialization like so: wx.DirPickerCtrl( self, -1, '', 'My Dir Picker', size = (a, b) ) where a and b are the desired dimensions.

You could also set the size after the fact with my_picker.SetSize( (a, b) ) where once again a and b are the desired dimensions.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.