how to configure the PtScrollArea widget

I use a PtScrollArea widget as a parent widget. I create several child
widgets so the virtual area is larger than the viewing area , but the
vertical scrollbar didn’t work. I set
the flag Pt_ARG_SCROLLBAR_Y_DISPLAY =Pt_ALWAYS .

Please give me advice.
Thank you for your help.