Comment on Golden ratio in GUI designComments−shaunxcode16yI am not sure I understand - wouldn't you want to be working with the DIALOG_HEIGHT in relation to the DIALOG_WIDTH?−jpterry16yHe is. The first argument is the width, the second is the height. Therefore, the height is calculated based on the golden ratio applied to the width.
Comments
I am not sure I understand - wouldn't you want to be working with the DIALOG_HEIGHT in relation to the DIALOG_WIDTH?
He is. The first argument is the width, the second is the height. Therefore, the height is calculated based on the golden ratio applied to the width.