PxToDp and PxToSp are useful when you are trying to calculate text-size or widget size based on dynamically sized container. Signed-off-by: Egon Elbre <egonelbre@gmail.com>
It's sometimes necessary to specify padding or spacing based on the text size. Signed-off-by: Egon Elbre <egonelbre@gmail.com>