Mythic icon indicating copy to clipboard operation
Mythic copied to clipboard

[BUG] Download Speed Text Wrapping

Open PeterBrownie opened this issue 2 years ago • 1 comments

Describe the bug This is a simple visual bug in the window that displays install/download information. See screenshot.

Sometimes the 'X MB Downloaded' text label will wrap to 2 lines. This causes the install information container to grow a few pixels taller than the window can fit, causing a scroll bar to appear.

To Reproduce Steps to reproduce the behavior:

  1. Be downloading something
  2. Go to 'Downloads' menu.
  3. Click on the 'i' button to view more information
  4. Wait until the download speed is larger than 9 MB/s
  5. See bug.

Expected behavior Because all the information is still visible, the scroll bar should not appear. The solution would be to increase the space the text label is given, so it doesn't wrap.

Screenshots If applicable, add screenshots to help explain your problem. image

Mac: Model: Macbook Pro M3 Pro 1TB Operating System: macOS 15.0 Beta (24A5264n) App Version: 0.2.0

Additional context Inconsistently, when the download speed is exactly 11 MB/s, the spacing is okay. Also, in the downloads menu, the 'i' in the 'i' button is not centered...

PeterBrownie avatar Jun 15 '24 04:06 PeterBrownie

Icons being off-center is a SwiftUI bug i'm aware of. A temporary solution would be to manually resize the sheet in which the download information is displayed.

I'll begin working on a fix.

zenfty avatar Jun 15 '24 04:06 zenfty