Author Topic: How can I make MessageDisplayByValue be centered at all times?  (Read 1565 times)

The Forever Intern

  • Newbie
  • *
  • Posts: 5
    • View Profile
How can I make MessageDisplayByValue be centered at all times?
« on: September 26, 2023, 11:35:08 AM »
I am using the messagedisplaybyvalue as the main indicator on my overview screen, there are sequence of steps and also error codes that I have coded in to switch to, the problem is when I center the text inside of a nice box and it looks all centered, when I start the program each different state is either longer or shorter, its anchored on the left side but it just keeps typing to the end of the screen and goes over my pushbutton. How can I make it so the text is wrapped and will always stay inside the box I made for it?


EDIT: I found it, all I had to do was set autosize to false
« Last Edit: September 26, 2023, 12:08:21 PM by The Forever Intern »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: How can I make MessageDisplayByValue be centered at all times?
« Reply #1 on: September 26, 2023, 12:07:46 PM »
Do you have Autosize property set to False?

The Forever Intern

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: How can I make MessageDisplayByValue be centered at all times?
« Reply #2 on: September 26, 2023, 12:08:56 PM »
Just found it, took me a while but at least I am figuring it out. Thanks