Skip to content

fix: progress bars rendering as binary on/off instead of proportional fill#22

Merged
danielkov merged 1 commit into
mainfrom
fix/progress-bar-fill-proportion
Feb 22, 2026
Merged

fix: progress bars rendering as binary on/off instead of proportional fill#22
danielkov merged 1 commit into
mainfrom
fix/progress-bar-fill-proportion

Conversation

@danielkov

@danielkov danielkov commented Feb 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fixed progress bars throughout the silo GUI rendering as fully filled or fully empty instead of showing actual proportional progress
  • Root cause: FillPortion in Iced only distributes space among sibling elements — a single child always takes 100% of the parent
  • Added a second container sibling so fill and remaining space split proportionally, with conditional logic for correct 0% and 100% edge cases
Screenshot 2026-02-22 at 18 36 23

✻ Clauded...

… fill

FillPortion only distributes space among siblings — a single child always
takes 100% regardless of the portion value. Added a second container so
the fill and remaining space split proportionally, with conditional logic
to handle the 0% and 100% edge cases.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@danielkov danielkov merged commit fda7cf6 into main Feb 22, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant