From d4faf3858531fd88506df4cc46f805993eee3bd6 Mon Sep 17 00:00:00 2001 From: Alain Plantec Date: Thu, 19 Dec 2024 09:46:33 +0100 Subject: [PATCH] fixed ToInnerBarElement>>configureLayoutIn: --- src/Toplo-Widget-List/ToInnerBarElement.class.st | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/Toplo-Widget-List/ToInnerBarElement.class.st b/src/Toplo-Widget-List/ToInnerBarElement.class.st index 6fb5c68c..704c8a2e 100644 --- a/src/Toplo-Widget-List/ToInnerBarElement.class.st +++ b/src/Toplo-Widget-List/ToInnerBarElement.class.st @@ -62,19 +62,13 @@ ToInnerBarElement >> configureLayoutIn: aBarElement [ ifTrue: [ aBarElement isVertical ifTrue: [ - aBarElement isUniformNodeWidth + aBarElement isHMatchParent ifTrue: [ self hMatchParent ] - ifFalse: [ - aBarElement isHMatchParent - ifTrue: [ self hMatchParent ] - ifFalse: [ self hFitContent ] ] ] + ifFalse: [ self hFitContent ] ] ifFalse: [ - aBarElement isUniformNodeHeight + aBarElement isVMatchParent ifTrue: [ self vMatchParent ] - ifFalse: [ - aBarElement isVMatchParent - ifTrue: [ self vMatchParent ] - ifFalse: [ self vFitContent ] ] ] ] + ifFalse: [ self vFitContent ] ] ] ifFalse: [ aBarElement isHMatchParent ifTrue: [ self hMatchParent ] @@ -82,6 +76,7 @@ ToInnerBarElement >> configureLayoutIn: aBarElement [ aBarElement isVMatchParent ifTrue: [ self vMatchParent ] ifFalse: [ self vFitContent ] ]. + trackElement configureLayoutIn: aBarElement ]