I'm unable to correctly display a text on a QLabel, here's how it looks:
How do I modify it to get this result:
From 4.3 and above, any designable Q_PROPERTY can be set using the qproperty-<property name> syntax.
For your case, you could use the following stylesheet on your label:
qproperty-alignment: AlignVTop;
qproperty-alignment: AlignHCenter;
qproperty-wordWrap: true;
/*an addition in case it's useful to set text using stylesheets*/
qproperty-text: 'Mercredi 19.01.2021';
Sources: