mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
[poincare] Put constant value in header.
Change-Id: I67baf95528d530176812c5f378192854968b7fb9
This commit is contained in:
@@ -250,7 +250,7 @@ KDSize VerticalOffsetLayout::computeSize() {
|
||||
assert(m_parent->isHorizontal());
|
||||
int indexInParent = m_parent->indexOfChild(this);
|
||||
if (indexInParent < m_parent-> numberOfChildren() - 1 && m_parent->editableChild(indexInParent + 1)->hasUpperLeftIndex()) {
|
||||
width += 5;
|
||||
width += k_separationMargin;
|
||||
}
|
||||
}
|
||||
KDCoordinate height = baseLayout()->size().height() + indiceLayout()->size().height() - k_indiceHeight;
|
||||
|
||||
@@ -33,6 +33,7 @@ protected:
|
||||
Type m_type;
|
||||
private:
|
||||
constexpr static KDCoordinate k_indiceHeight = 5;
|
||||
constexpr static KDCoordinate k_separationMargin = 5;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user