Dialog explicit height doesn't match given value from set option

Dialog explicit height doesn't match given value from set option

While trying to figure out some of the failing unit tests I came across a failed test that needs to be looked at.

When setting dialogs height explicitly the actual height is 18 pixels higher then specified.