I develop normally focused on vertical orientation, but when I turn the device screen to horizontal, the elements are resized unwanted, leaving some smaller than they really should be.
For example:
Rectangle
{
id: foo
width: parent.width * 0.8;
height: parent.height * 0.025;
}
In a 1024 x 600 device, when vertically foo
is 25px tall, but when horizontally it gets 15px, which compromises the reading of possible texts within Rectangle
.
Can I set a minimum size when I'm horizontal? And what is the best way to handle screen orientation issues in QML?