summaryrefslogtreecommitdiff
path: root/src/gui/tabbedcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tabbedcontainer.cpp')
-rw-r--r--src/gui/tabbedcontainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/tabbedcontainer.cpp b/src/gui/tabbedcontainer.cpp
index 8fb2f598..d6267e65 100644
--- a/src/gui/tabbedcontainer.cpp
+++ b/src/gui/tabbedcontainer.cpp
@@ -82,8 +82,8 @@ void TabbedContainer::logic()
{
if (mActiveContent) {
mActiveContent->setSize(
- getWidth() - 2 * mActiveContent->getBorderSize(),
- getHeight() - TABHEIGHT - 2 * mActiveContent->getBorderSize());
+ getWidth() - 2 * mActiveContent->getFrameSize(),
+ getHeight() - TABHEIGHT - 2 * mActiveContent->getFrameSize());
}
Container::logic();