Ensure that the fonts collector destination label gets wrapped on OS X
This commit is contained in:
parent
4f34784370
commit
0b2d0d40d5
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue