[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-active
Subject:    Re: (non)pixel based margins in kmail-mobile
From:       Marco Martin <notmart () gmail ! com>
Date:       2013-08-14 15:54:59
Message-ID: 2144399.ZhRJyoRyMF () deimos ! diaunet
[Download RAW message or body]

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
_______________________________________________
Active mailing list
Active@kde.org
https://mail.kde.org/mailman/listinfo/active

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic