git://git.nikiroo.be
/
fanfix-swing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e91f698
)
BreadCrumbsBar: fix second row not preferredSize
author
Niki Roo
<niki@nikiroo.be>
Sat, 25 Apr 2020 11:32:39 +0000
(13:32 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Sat, 25 Apr 2020 11:32:39 +0000
(13:32 +0200)
src/be/nikiroo/utils/ui/BreadCrumbsBar.java
patch
|
blob
|
blame
|
history
diff --git
a/src/be/nikiroo/utils/ui/BreadCrumbsBar.java
b/src/be/nikiroo/utils/ui/BreadCrumbsBar.java
index ed20f92916d6809106bedd430c08b9da1de1526a..8b993e64b58706c4bf1b567d482ff1618deae43d 100644
(file)
--- a/
src/be/nikiroo/utils/ui/BreadCrumbsBar.java
+++ b/
src/be/nikiroo/utils/ui/BreadCrumbsBar.java
@@
-152,7
+152,7
@@
public class BreadCrumbsBar<T> extends ListenerPanel {
if (vertical) {
this.setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
} else {
- this.setLayout(new
FlowLayout(Flow
Layout.LEADING));
+ this.setLayout(new
WrapLayout(Wrap
Layout.LEADING));
}
for (BreadCrumb crumb : crumbs) {