Add padding_right to nativLook text boxes, to account for the scrollbar

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1090 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-07 21:12:53 +00:00
parent e4d2df4827
commit 01630e0f5f
+1
View File
@@ -322,6 +322,7 @@ IMPLEMENT_VALUE_EDITOR(Text)
{
if (viewer.nativeLook() && field().multi_line) {
scrollbar = new TextValueEditorScrollBar(*this);
style->padding_right += scrollbar->GetSize().x;
}
}