Page 1 of 1

Howto: enable wordwrap in a label

Posted: Sat Feb 23, 2013 10:35 pm
by Vadi
Similarly to how to align text in a label, you can enable word wrapping in them as well, with the following code:

Code: Select all

qproperty-wordWrap: true;
An example using Geyser:
Code: [show] | [select all] lua
mylabel:setStyleSheet([[
  qproperty-wordWrap: true;
]])