Re: [Interest] specifying units in Qt style sheets

2013-06-23 Thread Hamish Moffatt
On 21/06/13 16:39, Alejandro Exojo wrote: 2013/6/21 Hamish Moffatt > font-size: 50pt; -- works font-size: 50 pt; -- does not work - results in default font size font-size: 50px; -- works font-size: 50 px; -- does not work - results in default f

Re: [Interest] specifying units in Qt style sheets

2013-06-20 Thread Alejandro Exojo
2013/6/21 Hamish Moffatt > font-size: 50pt; -- works > font-size: 50 pt; -- does not work - results in default font size > font-size: 50px; -- works > font-size: 50 px; -- does not work - results in default font size > > margin-left: 100pt; -- does not work - results in 0 px > margin-left: 100 pt

[Interest] specifying units in Qt style sheets

2013-06-20 Thread Hamish Moffatt
Hi, I'm trying to make my app work for a variety of screen sizes and densities, I'm using style sheets as much as possibly to control the size of things. Since I want things to be the same physical size across devices generally, I'm trying to specify things in points (which are 1/72 inches by