From e7437397e0b515af880f4f5ee94a638ee7348556 Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Sat, 25 Apr 2020 13:32:39 +0200 Subject: [PATCH] BreadCrumbsBar: fix second row not preferredSize --- ui/BreadCrumbsBar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/BreadCrumbsBar.java b/ui/BreadCrumbsBar.java index ed20f92..8b993e6 100644 --- a/ui/BreadCrumbsBar.java +++ b/ui/BreadCrumbsBar.java @@ -152,7 +152,7 @@ public class BreadCrumbsBar extends ListenerPanel { if (vertical) { this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); } else { - this.setLayout(new FlowLayout(FlowLayout.LEADING)); + this.setLayout(new WrapLayout(WrapLayout.LEADING)); } for (BreadCrumb crumb : crumbs) { -- 2.27.0