mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
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:
@@ -322,6 +322,7 @@ IMPLEMENT_VALUE_EDITOR(Text)
|
||||
{
|
||||
if (viewer.nativeLook() && field().multi_line) {
|
||||
scrollbar = new TextValueEditorScrollBar(*this);
|
||||
style->padding_right += scrollbar->GetSize().x;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user