If have in Text expression something simple like "1==1", then Shring works normal. Space between controls disappear. But if is in Text expression system variable "PageNumber == 2", then Shrink doesn't work

Can you see my simple example, please?
Michal