[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-13 10:03:31
Message-ID: 3283521.XoA7Xxy5ze () deimos ! diaunet
[Download RAW message or body]
On Tuesday 13 August 2013 11:51:51 Michael Bohlender wrote:
> Hi,
>
> my mentor and I would like to get a second opinion from a plasma developer
> regarding pixel based margins in plasma active applications. The question
> emerged from https://git.reviewboard.kde.org/r/112013/ but is obviously a
> general problem that needs to be solved the same way throughout the entire
> application.
>
> Should I use a fixed pixel size for the margins/spacing or should I use
> something relational to the font size?
> If so, is "theme.defaultFont.mSize.width" the right thing to use in this
> case?
never, never, ever pixel sizes ;)
mSize is fine, or also the recent addition
units.gridUnit
units is a global object that is automatically registered when you import
plasma components, so you can just access it.
--
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