Skip to content

fix: scaling components with grid unit px

Raghavendra Bhat requested to merge raghavyuva/lomiri:master into master

Problem :

Lomiri Components does not scale based on GRID_UNIT_PX value, while Lomiri apps are scaling.

Cause :

The Problem is that the components like Panel, Launcher, etc height and width are overridden by shell.qml while it does not respect the GRID_UNIT_PX value which is exported to qml engine as internalGu variable.

Fix :

Modified respective components to respect the value of GRID_UNIT_PX and scale accordingly,

PS: tested with the values of 8px and 16px for some reason the qtmir crashes with more than the value of 16, this is another bug that has to be resolved.

Merge request reports

Loading