Refactor lib view

This commit is contained in:
IlyaShurupov 2024-01-31 21:21:23 +03:00
parent 83d51d3e83
commit 3b50001daf
9 changed files with 270 additions and 427 deletions

View file

@ -197,7 +197,7 @@ namespace tp {
const auto padding = this->getValue("Padding");
mContentSize = mContents.last()->mArea.y - mContents.first()->mArea.y;
mContentSize += mContents.last()->mArea.w;
mContentSize += (mContents.size()) * padding;
mContentSize += 2 * padding;
}
}