diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-04 22:06:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-04 22:06:44 +0300 |
commit | ab46ce55b81d689b9adc573cb119273663046b63 (patch) | |
tree | d0f3bf41fb54b5266782f7b57d2c2239d4a811e4 /src | |
parent | f664dcdffee192d0e61f0e9e990fbd4fcb168ca0 (diff) | |
download | mv-ab46ce55b81d689b9adc573cb119273663046b63.tar.gz mv-ab46ce55b81d689b9adc573cb119273663046b63.tar.bz2 mv-ab46ce55b81d689b9adc573cb119273663046b63.tar.xz mv-ab46ce55b81d689b9adc573cb119273663046b63.zip |
Add static padding to guitable cells.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/guitable.cpp | 4 |
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; } |