How do I fix the position of the text in the status bar?

I want the text to always be in its place, but it is happening. When I resize the window, the text doesn’t move out of place.

__

try SetStatusWidths (self , widths )

1 Like

What seems to me that I have to do a lot of checks and set the width of one of the fields based on the size of the screen, so that everything was as it should be.

I found a solution. I specified a size of -1 in the first field and everything works as i wanted.

I just read about SetStatusWidths() in the documentation. It’s written about it there :smile:

#5 fields
self.SetStatusWidths([-1,100,160,50,130])