From 90796ccce3ef9087c1288d737738f65e188cff0b Mon Sep 17 00:00:00 2001 From: rtk0c Date: Sun, 13 Jun 2021 21:33:26 -0700 Subject: Add table UI and single cell properties --- core/src/Model/Template/TableTemplate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/Model/Template/TableTemplate.cpp') diff --git a/core/src/Model/Template/TableTemplate.cpp b/core/src/Model/Template/TableTemplate.cpp index f2524a0..be61606 100644 --- a/core/src/Model/Template/TableTemplate.cpp +++ b/core/src/Model/Template/TableTemplate.cpp @@ -107,8 +107,8 @@ void TableTemplate::Resize(int newWidth, int newHeight) } mCells = std::move(cells); - mColumnWidths.resize(newWidth); - mRowHeights.resize(newHeight); + mColumnWidths.resize(newWidth, 80); + mRowHeights.resize(newHeight, 20); } int TableTemplate::GetRowHeight(int row) const -- cgit v1.2.3-70-g09d2