mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix bug in resizing of DialogWrapper with large error label
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user