mirror of https://github.com/odrling/Aegisub
Ensure that the fonts collector destination label gets wrapped on OS X
This commit is contained in:
parent
4f34784370
commit
0b2d0d40d5
|
@ -385,6 +385,12 @@ void DialogFontsCollector::UpdateControls() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
// wxStaticText auto-wraps everywhere but OS X
|
||||||
|
dest_label->Wrap(dest_label->GetParent()->GetSize().GetWidth() - 20);
|
||||||
|
Layout();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void DialogFontsCollector::OnAddText(ValueEvent<color_str_pair> &event) {
|
void DialogFontsCollector::OnAddText(ValueEvent<color_str_pair> &event) {
|
||||||
|
|
Loading…
Reference in New Issue