Skip to content

Commit

Permalink
Update 03_components.md (#110)
Browse files Browse the repository at this point in the history
Added line break on  progressBar components since without it there is an overlap and only one will be shown.
  • Loading branch information
matormentor authored Jul 10, 2024
1 parent 390fe56 commit 5b7a123
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/view/03_components.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ fn ProgressBar(
max=max
value=progress
/>
// Add a line-break to avoid overlap
<br/>
}
}
```
Expand Down Expand Up @@ -258,6 +260,7 @@ fn ProgressBar(
max=max
value=progress
/>
<br/>
}
}

Expand Down Expand Up @@ -293,6 +296,7 @@ fn ProgressBar<F: Fn() -> i32 + 'static>(
max=100
value=progress
/>
<br/>
}
})
}
Expand Down Expand Up @@ -332,6 +336,7 @@ fn ProgressBar(
max=100
value=progress
/>
<br/>
}
})
}
Expand Down

0 comments on commit 5b7a123

Please sign in to comment.