1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:07:35 +00:00

Spreadsheet: Tweak row height slightly

Add 2px of height to the rows. This makes editing a cell inline look
better since we no longer cut off the text while editing.
This commit is contained in:
Andreas Kling 2020-08-26 20:35:09 +02:00
parent c4347a16cf
commit 368dc8ad08

View file

@ -60,6 +60,8 @@ SpreadsheetView::SpreadsheetView(Sheet& sheet)
m_table_view->row_header().set_visible(true);
m_table_view->set_model(SheetModel::create(*m_sheet));
m_table_view->set_row_height(18);
set_focus_proxy(m_table_view);
// FIXME: This is dumb.