Re-layout when ratio changes. Add getter for ratio.