diff options
| author | David Lönnhager <david.l@mullvad.net> | 2025-05-13 09:58:20 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2025-05-13 12:35:20 +0200 |
| commit | b51c01b1955ba0dbe1f533b740f4983b6408e2a7 (patch) | |
| tree | 69a2421754a982987b0a5d53e8862ce6159af0ef | |
| parent | 0495cf709f8a92f7ad73d47746f4b13bd699678e (diff) | |
| download | mullvadvpn-b51c01b1955ba0dbe1f533b740f4983b6408e2a7.tar.xz mullvadvpn-b51c01b1955ba0dbe1f533b740f4983b6408e2a7.zip | |
Use default font instead Segoe Fluent Icons
| -rw-r--r-- | installer-downloader/src/winapi_impl/ui.rs | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/installer-downloader/src/winapi_impl/ui.rs b/installer-downloader/src/winapi_impl/ui.rs index 79e91de915..c6685ac1fb 100644 --- a/installer-downloader/src/winapi_impl/ui.rs +++ b/installer-downloader/src/winapi_impl/ui.rs @@ -70,8 +70,6 @@ pub struct AppWindow { pub beta_prefix: nwg::Label, pub beta_link: nwg::Label, - pub arrow_font: nwg::Font, - pub stable_message_frame: nwg::ImageFrame, pub stable_prefix: nwg::Label, pub stable_link: nwg::Label, @@ -226,15 +224,10 @@ impl AppWindow { .size((240, 24)) .build(&mut self.stable_message_frame)?; - nwg::Font::builder() - .family("Segoe Fluent Icons") - .size(10) - .build(&mut self.arrow_font)?; nwg::Label::builder() .parent(&self.stable_message_frame) .size((16, 24)) - .text("") - .font(Some(&self.arrow_font)) + .text("←") .h_align(nwg::HTextAlign::Left) .build(&mut self.stable_prefix)?; nwg::Label::builder() @@ -288,7 +281,7 @@ impl AppWindow { self.window.size().1 as i32 - 24 - self.stable_message_frame.size().1 as i32, ); self.stable_link.set_position(16, 0); - self.stable_prefix.set_position(4, 12 - 4); + self.stable_prefix.set_position(0, 0); handle_link_messages( &self.stable_message_frame.handle, &self.stable_prefix, |
