From cb0fcbfa0235e0173417a935acfe64f48a23b226 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 --- src/be/nikiroo/utils/ui/BreadCrumbsBar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/be/nikiroo/utils/ui/BreadCrumbsBar.java b/src/be/nikiroo/utils/ui/BreadCrumbsBar.java index ed20f929..8b993e64 100644 --- a/src/be/nikiroo/utils/ui/BreadCrumbsBar.java +++ b/src/be/nikiroo/utils/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