From e12d6253389860dc9fbb0d651e86287ad8f609ae Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 29 Feb 2024 09:13:10 -0700 Subject: [PATCH] fix(grid): layout swapped row and column spacing --- src/widget/grid/layout.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget/grid/layout.rs b/src/widget/grid/layout.rs index a7019b6b..9a193010 100644 --- a/src/widget/grid/layout.rs +++ b/src/widget/grid/layout.rs @@ -95,8 +95,8 @@ pub fn resolve( display: Display::Grid, gap: taffy::geometry::Size { - width: length(row_spacing), - height: length(column_spacing), + width: length(column_spacing), + height: length(row_spacing), }, justify_items: Some(match height {