[Interest] Widget cross-platform (minimum) size constraint problem.

Thiago Macieira thiago.macieira at intel.com
Wed Jan 2 13:40:47 CET 2013


On quarta-feira, 2 de janeiro de 2013 10.46.24, Goblin Coding wrote:
> I also realise that there are no guarantees regarding the look of the Qt
> widgets on different platforms.  What I actually wanted to find out is if
> there was a way to design a widget in Qt Designer so that the way it looks
> in Designer will be the way it is created at run-time? (i.e. if I tweak it
> on Windows and run it on Windows, it should look fine on Windows...if I
> subsequently go tweak it on Linux and run it on Linux, it should look fine
> on Linux).  My problem is that, so far, it seems setting min values is a
> hit and miss operation - tweak value, compile, run, see what it looks like,
> realise it's too big/small, tweak value, compile, etc etc.

That still doesn't exist on Linux due to different font sizes, DPI settings and 
general widget styles varying between users.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130102/0dc6106c/attachment.sig>


More information about the Interest mailing list