Hi Everyone
Just a Quick one
As you can see below I am working on a part of my program and I need some help
The Description of the keys are loaded from the Database but I can not work out how to wrap the description
Example the Key that says "SSES BAKERY ITEMS" should acually say "WESSES BAKERY ITEMS" and the key that shows
"S FARMHOUSE FOODS" should say "19 GALES FARMHOUSE FOODS"
does anyone know if it is possible to word wrap the text either with in the sql command or when I show the description on the label.
[Solved] Word Wrapping on a Label
-
- Posts: 363
- Joined: Wednesday 2nd December 2020 12:11am
- Location: Northampton, England
- Contact:
[Solved] Word Wrapping on a Label
Last edited by AndyGable on Tuesday 2nd August 2022 12:14pm, edited 1 time in total.
Re: Word Wrapping on a Label
Uhmm ... maybe you should use the TextLabel Class, as this Class has the ".Wrap" Property.
https://gambaswiki.org/wiki/comp/gb.qt4/textlabel/wrap
https://gambaswiki.org/wiki/comp/gb.qt4/textlabel/wrap
Europaeus sum !
Amare memorentes atque deflentes ad mortem silenter labimur.
Amare memorentes atque deflentes ad mortem silenter labimur.
-
- Posts: 363
- Joined: Wednesday 2nd December 2020 12:11am
- Location: Northampton, England
- Contact:
Re: Word Wrapping on a Label
Thank you that worked a treatvuott wrote: ↑Tuesday 2nd August 2022 10:53am Uhmm ... maybe you should use the TextLabel Class, as this Class has the ".Wrap" Property.
https://gambaswiki.org/wiki/comp/gb.qt4/textlabel/wrap