From ab46ce55b81d689b9adc573cb119273663046b63 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 4 Jun 2013 22:06:44 +0300 Subject: Add static padding to guitable cells. --- src/gui/widgets/guitable.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp index 30d4cc761..37fe17d95 100644 --- a/src/gui/widgets/guitable.cpp +++ b/src/gui/widgets/guitable.cpp @@ -194,7 +194,7 @@ void GuiTable::setLinewiseSelection(const bool linewise) int GuiTable::getRowHeight() const { if (mModel) - return mModel->getRowHeight() + 1; // border + return mModel->getRowHeight() + 4; // border else return 0; } @@ -202,7 +202,7 @@ int GuiTable::getRowHeight() const int GuiTable::getColumnWidth(int i) const { if (mModel) - return mModel->getColumnWidth(i) + 1; // border + return mModel->getColumnWidth(i) + 4; // border else return 0; } -- cgit v1.2.3-70-g09d2