> Why do we need this? What is the use case? What is the problem that we are
> trying to solve?
This is to enable us to easily align graphical items to the gu grid.
Use case:
Indicator panel items can be variable width (fixed height with aspect calculated width + variable length label) but should be aligned to the gu grid.
Currently there is a function in the indicators to calculate it, but should be in a common place so we can use it elsewhere. Units seemed the logical place to put it.
> Why do we need this? What is the use case? What is the problem that we are
> trying to solve?
This is to enable us to easily align graphical items to the gu grid.
Use case:
Indicator panel items can be variable width (fixed height with aspect calculated width + variable length label) but should be aligned to the gu grid.
Currently there is a function in the indicators to calculate it, but should be in a common place so we can use it elsewhere. Units seemed the logical place to put it.