Here are some materials which could help with your problem:
How to make an always readable text?
Global variables for Labels
Fixed name optional parameters for Labels
If you could not find the solution for your issue, please send the problematic code snippet or your object in .zip file and a description about which cases it does not work properly.
Library Developer, Library Team