update for object lay out system with samples

@minggo 
virtual bool isUsingPercentWidth(); 
 virtual void setPercentWidthEnabled(bool isUsed); 

change to set , get ?