forked from mia/Aegisub
Work around a bug which made style names in the style editor scrolled to the left far sooner than they needed to be
Originally committed to SVN as r6737.
This commit is contained in:
parent
2ef7ed98c0
commit
b8212512e7
1 changed files with 5 additions and 0 deletions
|
@ -383,6 +383,11 @@ DialogStyleEditor::DialogStyleEditor(wxWindow *parent, AssStyle *style, agi::Con
|
|||
|
||||
SetSizerAndFit(MainSizer);
|
||||
|
||||
// Force the style name text field to scroll based on its final size, rather
|
||||
// than its initial size
|
||||
StyleName->SetInsertionPoint(0);
|
||||
StyleName->SetInsertionPoint(-1);
|
||||
|
||||
persist.reset(new PersistLocation(this, "Tool/Style Editor"));
|
||||
|
||||
Bind(wxEVT_CHILD_FOCUS, &DialogStyleEditor::OnChildFocus, this);
|
||||
|
|
Loading…
Reference in a new issue