Closed DiegoCardoso closed 6 days ago
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
This ticket/PR has been released with Vaadin 24.6.0.alpha4 and is also targeting the upcoming stable 24.6.0 version.
Description
This pull request introduces new functionality to the
ThemableLayout
class in thevaadin-ordered-layout-flow
package, adding support for item wrapping within the layout. Additionally, it includes corresponding test cases to ensure the new functionality works as expected.New functionality:
vaadin-ordered-layout-flow-parent/vaadin-ordered-layout-flow/src/main/java/com/vaadin/flow/component/orderedlayout/ThemableLayout.java
: AddedsetWrap
andisWrap
methods to control and check whether items should wrap to new lines or columns when they exceed the layout's boundaries.Testing:
vaadin-ordered-layout-flow-parent/vaadin-ordered-layout-flow/src/test/java/com/vaadin/flow/component/orderedlayout/tests/ThemableLayoutTest.java
: AddedcheckWrap
test to verify the behavior of the new wrapping functionality by toggling the "wrap" theme.Fixes https://github.com/vaadin/web-components/issues/7949
Type of change