diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:20:29 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:20:29 +0200 |
commit | b8f13e45be884dc12884ebe8f3dcd9eecb23a106 (patch) | |
tree | 22a6d8b96815d626061ff3e2d432c13078fca5c4 /wx+/dir_picker.h | |
parent | 5.4 (diff) | |
download | FreeFileSync-b8f13e45be884dc12884ebe8f3dcd9eecb23a106.tar.gz FreeFileSync-b8f13e45be884dc12884ebe8f3dcd9eecb23a106.tar.bz2 FreeFileSync-b8f13e45be884dc12884ebe8f3dcd9eecb23a106.zip |
5.5
Diffstat (limited to 'wx+/dir_picker.h')
-rw-r--r-- | wx+/dir_picker.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/wx+/dir_picker.h b/wx+/dir_picker.h index 5f18b6fb..51bd9757 100644 --- a/wx+/dir_picker.h +++ b/wx+/dir_picker.h @@ -22,10 +22,14 @@ public: #ifdef FFS_WIN //fix wxWidgets localization gap: wxButton* button = dynamic_cast<wxButton*>(m_pickerIface); - if (button) button->SetLabel(_("Browse")); + if (button) + { + button->SetLabel(_("Browse")); //button width needs to be adapted for very long translations + SetMinSize(button->GetBestSize()); //SetSize and wxButton::SetSize just do nothing!!?? + } #endif } }; } -#endif // DIR_PICKER_I18N_H_INCLUDED +#endif // DIR_PICKER_I18N_H_INCLUDED |