summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--installer-downloader/CHANGELOG.md4
-rw-r--r--installer-downloader/src/winapi_impl/ui.rs11
2 files changed, 6 insertions, 9 deletions
diff --git a/installer-downloader/CHANGELOG.md b/installer-downloader/CHANGELOG.md
index 6415407845..760db3eb06 100644
--- a/installer-downloader/CHANGELOG.md
+++ b/installer-downloader/CHANGELOG.md
@@ -21,6 +21,10 @@ Line wrap the file at 100 chars. Th
## [Unreleased]
+### Fixed
+#### Windows
+- Use default font instead of Segoe Fluent Icons for back arrow.
+
## [0.3.0] - 2025-05-06
### Added
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,