01-30-2023 07:45 PM
Hi,
I have a dialog box with a text control that is being used as a title. I centred the text only to find that when the text started on a new line it was actually left justified rather than fully centred as per familiar applications.
So, instead of this:
My Long Title That Runs
To Two Lines
I got this:
My Long Title That Runs
To Two Lines
Is it possible to fully centre text in DIAdem controls?
Regards.
Solved! Go to Solution.
01-30-2023 10:13 PM
I meant to add: if you place the cursor in the text box then the centring is 'correct' (i.e. as per my expectations), but when you leave the text box the text is changed to the format I described.
Regards.
01-31-2023 05:12 AM
Hello Simon_Aldworth,
If you use the setting
for the edit box it works fine on my side.
Tested with DIAdem 2022
Greetings
Walter
01-31-2023 07:28 PM - edited 01-31-2023 07:31 PM
Hi Walter,
Thanks for your reply. Sorry to point this out but you've misread my post. I'm using a text control. Centring text in an Editbox seems to work fine but not in a Text control. I'm using 2022 Q4.
Regards.
02-01-2023 12:34 AM
Hi Simon_Aldworth,
You are right, I am sorry. This seems to be a bug and I will inform R&D about it. In the meantime you can use the following settings for the Edit Box to have a similar "feeling" as the Text Control.
Greetings
Walter
02-01-2023 04:05 AM
Thanks Walter.
In the end I removed enough words to fit them all on one line!
Hope the bug gets fixed soon.
Regards.