[escher/scroll_view] Rename m_indicatorThickness to m_barsFrameBreadth

This commit is contained in:
Ruben Dashyan
2019-01-24 11:47:53 +01:00
committed by EmilieNumworks
parent 81f80ef602
commit 1e958717fb
6 changed files with 9 additions and 9 deletions

View File

@@ -148,17 +148,17 @@ KDCoordinate ScrollView::maxContentHeightDisplayableWithoutScrolling() {
ScrollView::Decorator::Decorator() :
m_verticalBar(),
m_horizontalBar(),
m_indicatorThickness(20)
m_barsFrameBreadth(20)
{
}
void ScrollView::Decorator::layoutIndicators(KDSize content, KDPoint offset, KDSize frame) {
KDCoordinate hBarFrameBreadth = m_indicatorThickness * m_horizontalBar.update(
KDCoordinate hBarFrameBreadth = m_barsFrameBreadth * m_horizontalBar.update(
content.width(),
offset.x(),
frame.width()
);
KDCoordinate vBarFrameBreadth = m_indicatorThickness * m_verticalBar.update(
KDCoordinate vBarFrameBreadth = m_barsFrameBreadth * m_verticalBar.update(
content.height(),
offset.y(),
frame.height()