Thank you.

I beleive that line 10 does not have to be divided by ratioW though.
Changing line 10 to the following seems right to me ??

Qt Code:
  1. parentWidget()->resize( width, ratioH * width);
To copy to clipboard, switch view to plain text mode