I use frames which has a stacklayout as content, and I add some labels to stacklayout.
I want to hide labels automatically out of the frame(I defined frame size).