This is an automated email from the ASF dual-hosted git repository.

lkishalmi pushed a commit to branch delivery
in repository https://gitbox.apache.org/repos/asf/netbeans.git


The following commit(s) were added to refs/heads/delivery by this push:
     new e79e02a  [NETBEANS-4976] Revalidate the breadcrumbs component after 
changing its dimensions.
e79e02a is described below

commit e79e02a4c643580edbf869e8d0ad1a48840dc617
Author: Jan Lahoda <jlah...@netbeans.org>
AuthorDate: Sun Nov 1 07:59:00 2020 +0100

    [NETBEANS-4976] Revalidate the breadcrumbs component after changing its 
dimensions.
---
 .../src/org/netbeans/modules/lsp/client/bindings/BreadcrumbsImpl.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/BreadcrumbsImpl.java
 
b/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/BreadcrumbsImpl.java
index fe9841c..0e56170 100644
--- 
a/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/BreadcrumbsImpl.java
+++ 
b/ide/lsp.client/src/org/netbeans/modules/lsp/client/bindings/BreadcrumbsImpl.java
@@ -342,11 +342,13 @@ public class BreadcrumbsImpl implements BackgroundTask {
                     r = () -> {
                         setPreferredSize(sidebar.getPreferredSize());
                         setMaximumSize(sidebar.getMaximumSize());
+                        revalidate();
                     };
                 } else {
                     r = () -> {
                         setPreferredSize(new Dimension(0,0));
                         setMaximumSize(new Dimension(0,0));
+                        revalidate();
                     };
                 }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to