made padding and line height scriptable

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1249 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-12-11 17:40:17 +00:00
parent 095bef4f9b
commit 156e592636
4 changed files with 45 additions and 29 deletions
+1 -1
View File
@@ -322,7 +322,7 @@ IMPLEMENT_VALUE_EDITOR(Text)
{
if (viewer.nativeLook() && field().multi_line) {
scrollbar = new TextValueEditorScrollBar(*this);
style->padding_right = max(style->padding_right, (double)scrollbar->GetSize().x);
style->padding_right = max(style->padding_right(), (double)scrollbar->GetSize().x);
}
}