-
Notifications
You must be signed in to change notification settings - Fork 0
ProgressBar.md
cfloutier edited this page Apr 27, 2024
·
5 revisions

- label : the center label
- value : value between min and max
-
centered : if centered the green rectangle is drawned from the center of the control. useful for ranges like [-10 10].
- min and **max : the range
- **set-label-to-value" : print the value to the center label : print the value to the label
- postfix : postfix text. ex : "%" or "km"
.k2-progress-bar is the main class.
divided with the #frame, #progress and #label
the 4 classes are located in the K2UI.uss
I've wrote a brand new progress bar because the standard one was far too complex and difficult to setup it's behavior and look.
It's my first compenent coded from scratch. A simple but good exercice.