#37: combine HORIZONTAL and VERTICAL flags in one call, call unmaximize before doing size calculations
Merge pull request #38 from krlmlr/develop

 #37: combine HORIZONTAL and VERTICAL flags in one call, call unmaximize...