fix layout alignment
change setInnerSize to setSize and getInnerSize to getSize