summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-04 22:06:44 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-04 22:06:44 +0300
commitab46ce55b81d689b9adc573cb119273663046b63 (patch)
treed0f3bf41fb54b5266782f7b57d2c2239d4a811e4 /src/gui/widgets
parentf664dcdffee192d0e61f0e9e990fbd4fcb168ca0 (diff)
downloadplus-ab46ce55b81d689b9adc573cb119273663046b63.tar.gz
plus-ab46ce55b81d689b9adc573cb119273663046b63.tar.bz2
plus-ab46ce55b81d689b9adc573cb119273663046b63.tar.xz
plus-ab46ce55b81d689b9adc573cb119273663046b63.zip
Add static padding to guitable cells.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/guitable.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}