Kirigami: a feature needed for subsurface and api change feedback

Dirk Hohndel dirk at hohndel.org
Wed Apr 20 16:41:15 UTC 2016


On Wed, Apr 20, 2016 at 05:52:48PM +0200, Marco Martin wrote:
> On Wednesday 20 April 2016, Sebastian Kügler wrote:
> > On Tuesday 19 April 2016 16:31:41 Kai Uwe Broulik wrote:
> > > > 2.) On your Nexus 7, the whole thing indeed is way too small. This
> > > > seems to be a DPI scaling issue, though
> > > 
> > > I've seen QScreen physical dots per inch reporting rubbish on some
> > > Android devices, I think Nexus 7 was even one of them. See my comment in
> > > QTBUG-35701 for a workaround (basically asking Android API directly)
> > 
> > Could be solved by making these buttons sized with Units.gridUnit (which is
> > based on font size, just like everything else in Plasma).
> 
> they are, but subsurface must be doing something strange like setting gridUnit 
> to something else somewhere, as i get most ui pieces based on units 
> ridiculously huge on my laptop (while in the component gallery they're sized 
> fine)

We set the font size based on preferences, IIRC - and we use the same
prefs for desktop and mobile (that's not just laziness - that allows me to
set up the proxy with the desktop version and then have the mobile version
built on the same system use those settings).

Could that be what causes the problem?

But that brings us back to the odd sizing of the three buttons on my
Nexus 7 - does the relative sizing between fonts and buttons on that seem
different?

/D


More information about the Plasma-devel mailing list