Resize window on font change
This commit is contained in:
parent
1f929023f4
commit
c3a22dccf9
@ -873,6 +873,7 @@ impl RedrawEvents for State {
|
||||
impl GuiApi for State {
|
||||
fn set_font(&mut self, font_desc: &str) {
|
||||
self.set_font_desc(font_desc);
|
||||
self.request_resize();
|
||||
|
||||
let mut settings = self.settings.borrow_mut();
|
||||
settings.set_font_source(FontSource::Rpc);
|
||||
|
Loading…
Reference in New Issue
Block a user