If we call only pack() after controls were layed out, label may disappear on dialog resize. So we probably need to relayout whole panel when label content changes. Signed-off-by: Marek Zawirski <marek.zawirski@xxxxxxxxx> --- .../egit/ui/internal/components/RefSpecPage.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/components/RefSpecPage.java b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/components/RefSpecPage.java index 4471e24..b526cf3 100644 --- a/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/components/RefSpecPage.java +++ b/org.spearce.egit.ui/src/org/spearce/egit/ui/internal/components/RefSpecPage.java @@ -209,7 +209,7 @@ private void revalidateImpl(final RepositorySelection newRepoSelection) { saveButton.setVisible(true); saveButton.setText(NLS.bind(UIText.RefSpecPage_saveSpecifications, remoteName)); - saveButton.pack(); + saveButton.getParent().layout(); } checkPage(); } -- 1.5.6.3 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html