Fix a bug that the widget in a container in an array widget doesn't
reflect widget's write permission change
Scaledslider: avoid clipping the label by placing it in different
places according to widget size.