diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-10-26 13:44:10 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-11-08 23:24:44 +0100 |
commit | 2cdfbd2703e52e940771c128d79caa699b2c6650 (patch) | |
tree | 0ad4cbc025ec4aa0ee0357246bd45cee116ee183 /src/Main/Forms/Forms.h | |
parent | 81b9e2899329eed4ea9e2232bdb3deb107f5e1d2 (diff) | |
download | VeraCrypt-2cdfbd2703e52e940771c128d79caa699b2c6650.tar.gz VeraCrypt-2cdfbd2703e52e940771c128d79caa699b2c6650.zip |
Linux/MacOSX: Remove static size values from GUI in order to let wxWidgets calculate the best size (the "Fit" method ensure this). Fix truncation of text is some dialogs.
Diffstat (limited to 'src/Main/Forms/Forms.h')
-rw-r--r-- | src/Main/Forms/Forms.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Main/Forms/Forms.h b/src/Main/Forms/Forms.h index f20a7628..7c485ee9 100644 --- a/src/Main/Forms/Forms.h +++ b/src/Main/Forms/Forms.h @@ -147,7 +147,7 @@ namespace VeraCrypt public:
- MainFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("VeraCrypt"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,496 ), long style = wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxTAB_TRAVERSAL );
+ MainFrameBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("VeraCrypt"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX|wxSYSTEM_MENU|wxTAB_TRAVERSAL );
~MainFrameBase();
@@ -766,7 +766,7 @@ namespace VeraCrypt public:
- KeyfilesPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 500,300 ), long style = wxTAB_TRAVERSAL );
+ KeyfilesPanelBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
~KeyfilesPanelBase();
};
@@ -814,7 +814,7 @@ namespace VeraCrypt public:
- SelectDirectoryWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 200,65 ), long style = wxTAB_TRAVERSAL );
+ SelectDirectoryWizardPageBase( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL );
~SelectDirectoryWizardPageBase();
};
|