Resize window on font change

This commit is contained in:
daa 2017-05-16 22:37:13 +03:00
parent 1f929023f4
commit c3a22dccf9
1 changed files with 1 additions and 0 deletions

View File

@ -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);