mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user