Width of labels in native look editor is adjusted based on the longest label

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@449 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-06-30 14:35:41 +00:00
parent 950bcc1cb2
commit af818e3bec
2 changed files with 22 additions and 4 deletions
+5 -4
View File
@@ -35,10 +35,11 @@ class NativeLookEditor : public DataEditor {
virtual void onInit();
private:
static const UInt margin = 6;
static const UInt margin_left = 4;
static const UInt label_width = 150;
static const UInt vspace = 10;
static const int margin = 6;
static const int margin_left = 4;
static const int vspace = 10;
static const int label_margin = 10;
int label_width;
DECLARE_EVENT_TABLE();