diff --git a/apps/probability/cell.cpp b/apps/probability/cell.cpp index 7d9f3205e..ad5c35948 100644 --- a/apps/probability/cell.cpp +++ b/apps/probability/cell.cpp @@ -29,7 +29,7 @@ void Cell::layoutSubviews() { KDCoordinate height = bounds().height(); m_labelView.setFrame(KDRect(1+k_iconWidth+2*k_iconMargin, 1, width-2-k_iconWidth-2*k_iconMargin - k_chevronWidth, height-2)); m_iconView.setFrame(KDRect(1+k_iconMargin, (height - k_iconHeight)/2, k_iconWidth, k_iconHeight)); - m_chevronView.setFrame(KDRect(width-1-k_chevronWidth, 1, k_chevronWidth, height - 2)); + m_chevronView.setFrame(KDRect(width-1-k_chevronWidth-k_chevronMargin, 1, k_chevronWidth, height - 2)); } void Cell::reloadCell() { diff --git a/apps/probability/cell.h b/apps/probability/cell.h index e21d3e6ae..ef692b573 100644 --- a/apps/probability/cell.h +++ b/apps/probability/cell.h @@ -16,7 +16,8 @@ private: constexpr static KDCoordinate k_iconWidth = 35; constexpr static KDCoordinate k_iconHeight = 19; constexpr static KDCoordinate k_iconMargin = 10; - constexpr static KDCoordinate k_chevronWidth = 20+8; + constexpr static KDCoordinate k_chevronWidth = 8; + constexpr static KDCoordinate k_chevronMargin = 10; int numberOfSubviews() const override; View * subviewAtIndex(int index) override; void layoutSubviews() override;