Commit 67e0732b authored by twanvl's avatar twanvl

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

parent 6438a665
...@@ -322,6 +322,7 @@ IMPLEMENT_VALUE_EDITOR(Text) ...@@ -322,6 +322,7 @@ IMPLEMENT_VALUE_EDITOR(Text)
{ {
if (viewer.nativeLook() && field().multi_line) { if (viewer.nativeLook() && field().multi_line) {
scrollbar = new TextValueEditorScrollBar(*this); scrollbar = new TextValueEditorScrollBar(*this);
style->padding_right += scrollbar->GetSize().x;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment