2022-10-01 01:21 AM
I have set up some TEXTS (On Off). I noticed that there are 2 alignment settings here (see #2 and #3) in the image
What does the 2 alignment setting do?
Then there is the alignment for the actual widget (#1)
Which alignment wins as far as the text being displayed?
Solved! Go to Solution.
2022-10-03 02:03 AM
Hi WhyIsThisSo,
The #1 and #2 are the same . It shows the default alignment for the Text Area.
The #3 is an "extra" but always wins over the 2 other. Indeed, The Text areas in TouchGFX designer handles multi languages texts, so whenever you switch you language, you'll might also need to change the alignment (Left-to-right or Right-to-Left Languages).
So if #3 is not configured, TouchGFX Designer will use #2 . But if #3 is set, then it wins.
/Osman
2022-10-03 01:58 AM
Hello @WhyIsThisSo ,
The views #1 and #2 represent the same alignment. That means that you the alignment you choose will be reflected on the TextArea content, not depending on from which view you modify it.
So basically it is just displaying the same data.
Hope that this helps,
/Yoann
2022-10-03 02:03 AM
Hi WhyIsThisSo,
The #1 and #2 are the same . It shows the default alignment for the Text Area.
The #3 is an "extra" but always wins over the 2 other. Indeed, The Text areas in TouchGFX designer handles multi languages texts, so whenever you switch you language, you'll might also need to change the alignment (Left-to-right or Right-to-Left Languages).
So if #3 is not configured, TouchGFX Designer will use #2 . But if #3 is set, then it wins.
/Osman
2022-10-04 12:09 AM
thanks @Yoann KLEIN @Osman SOYKURT
for instance - if you have a text (ie."ON") and you might want to display the text either Left / Centre / Right alignment for the same language, you would need to create 3 separate TEXTS for the same text (ie. ON)
2022-10-04 12:16 AM