11-20-2010 05:59 AM
Hello,
I am having hard times with the allignment of caption strings set to "size to text" on the front panel on different systems.
On my development machine I do the allignment of the captions so everything looks fine (see SS2.png). On another machine with different screen settings the allignment does not fit anymore. The left caption position changed (see SS1.png).
Is there a way to lock the left upper corner of the caption to the position, where I placed it in the edit time?
When not using size to text, the allignment stays as set in edit time.
Thanks in advance.
11-20-2010
11:02 AM
- last edited on
05-19-2025
02:14 PM
by
Content Cleaner
All you probably need to do is set a defined font. Don't select the generic font, which will depend on the OS settings of the target machine.
Some easy reading:
11-21-2010 12:54 PM
Thanks for the info.I think my problem results from not having anchors for frontpanel objects.
I will also vote for your idea.
I think there is improvement needed on this. It's hard to understand that there are still those caveats after 20+ years of LabVIEW on the market..![]()
Greetings
11-21-2010 01:14 PM
11-21-2010 01:36 PM
The problem I had is, that the caption is not somehow tagged (in the way I need it) to the front panel in the size to text mode. I use the caption to also change languages on the front panel. Now when a new text is set to the caption, the left position changes, so that I don't have a left side allignment anymore. If I could anchor the left side of the caption in the front panel, the caption would stick to the left allignment and size to the text only to the right side. Anchoring can for example be used in C# or VB when creating user interfaces.
But it seems to work when size to text is switched of and a fixed size of the caption is used.