Resize list of stylesheets to fit available space

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1138 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-11 13:23:29 +00:00
parent 5fddaa3715
commit 520b472483
4 changed files with 32 additions and 2 deletions
+4
View File
@@ -50,6 +50,10 @@ class StylePanel : public SetWindowPanel {
void onStyleSelect(wxCommandEvent&);
void onUseForAll(wxCommandEvent&);
void onUseCustom(wxCommandEvent&);
/// Determine the best size for the list of stylesheets based on available space
void updateListSize();
virtual bool Layout();
};
// ----------------------------------------------------------------------------- : EOF