Skip to content

Commit 6b7e120

Browse files
committed
fixup! Conform to design more for Windows implementation
1 parent 8afb586 commit 6b7e120

File tree

1 file changed

+6
-2
lines changed
  • installer-downloader/src/winapi_impl

1 file changed

+6
-2
lines changed

installer-downloader/src/winapi_impl/ui.rs

+6-2
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,15 @@ impl AppWindow {
113113
);
114114
self.progress_bar.set_position(
115115
PROGRESS_BAR_MARGIN,
116-
self.status_text.position().1 + self.status_text.size().1 as i32 + LOWER_AREA_VERT_MARGIN,
116+
self.status_text.position().1
117+
+ self.status_text.size().1 as i32
118+
+ LOWER_AREA_VERT_MARGIN,
117119
);
118120
self.download_button.set_position(
119121
(self.window.size().0 / 2) as i32 - (self.download_button.size().0 / 2) as i32,
120-
self.progress_bar.position().1 + self.progress_bar.size().1 as i32 + LOWER_AREA_VERT_MARGIN,
122+
self.progress_bar.position().1
123+
+ self.progress_bar.size().1 as i32
124+
+ LOWER_AREA_VERT_MARGIN,
121125
);
122126
self.cancel_button.set_position(
123127
(self.window.size().0 / 2) as i32 - (self.cancel_button.size().0 / 2) as i32,

0 commit comments

Comments
 (0)