(non)pixel based margins in kmail-mobile
Marco Martin
notmart at gmail.com
Wed Aug 14 15:54:59 UTC 2013
On Wednesday 14 August 2013 13:51:31 Aaron J. Seigo wrote:
> On Tuesday, August 13, 2013 12:03:31 Marco Martin wrote:
> > units.gridUnit
> >
> > units is a global object that is automatically registered when you import
> > plasma components, so you can just access it.
>
> honestly i really didn’t want units added so we could start using it
> everywhere. it’s a compatibility API for code written with Ubuntu Touch in
> mind. beyond that, the API is broken from a design perspective as it
> encourages people to design their UI with pixel values.
using multiples of units.gridUnit would be probably work api-wise, its methods
are indeed not good.
btw, so the suggested way remains mSize?
--
Marco Martin
More information about the Active
mailing list