Paul Augood Posted April 19 Report Share Posted April 19 I am displaying a variable string in the HMI (its the site name of where the PLC is located). The properties are set to Center Center but the string is always justifying to the left. Checked the string length and this changes based on the name stored. I've written some code to add spaces to try to center the name but because of character sizes its not very centered - doesn't look right. Any ideas anyone? Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted April 19 MVP 2021 Report Share Posted April 19 This is a problem with no good answer. I've struggled with this since the beginning of my time working with VisiLogic. 1 Quote Link to comment Share on other sites More sharing options...
Fernando Castro Posted April 19 Report Share Posted April 19 6 hours ago, Flex727 said: This is a problem with no good answer. I've struggled with this since the beginning of my time working with VisiLogic. Same here, I tried to do a scrolling text once, and I noticed that it looked weird because of the variable character sizes. Quote Link to comment Share on other sites More sharing options...
MVP 2021 Joe Tauser Posted April 20 MVP 2021 Report Share Posted April 20 This is a Visilogic thing and the odds are small that it will be addressed. You've already tripped upon the work-around by adding leading spaces with code. Try adding the Courier or another monospaced font for just that field. Joe T. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.