Fix bug in resizing of DialogWrapper with large error label

This commit is contained in:
Jerome Gaillard
2018-01-18 16:14:43 +03:00
committed by Kirill Kirichenko
parent 627508c5f3
commit d7968887c5
@@ -236,7 +236,7 @@ public abstract class DialogWrapper {
if (!myResizeInProgress) {
myActualSize = myPeer.getSize();
if (myErrorText != null && myErrorText.isVisible()) {
myActualSize.height -= myErrorText.myLabel.getHeight();
myActualSize.height -= myErrorText.getMinimumSize().height;
}
}
}