mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/shared] Draw separators between series in Store data
This commit is contained in:
@@ -38,11 +38,15 @@ View * BufferFunctionTitleCell::subviewAtIndex(int index) {
|
||||
}
|
||||
|
||||
void BufferFunctionTitleCell::layoutSubviews() {
|
||||
m_bufferTextView.setFrame(bufferTextViewFrame());
|
||||
}
|
||||
|
||||
KDRect BufferFunctionTitleCell::bufferTextViewFrame() const {
|
||||
KDRect textFrame(0, k_colorIndicatorThickness, bounds().width(), bounds().height() - k_colorIndicatorThickness);
|
||||
if (m_orientation == Orientation::VerticalIndicator){
|
||||
textFrame = KDRect(k_colorIndicatorThickness, 0, bounds().width() - k_colorIndicatorThickness, bounds().height()-k_separatorThickness);
|
||||
}
|
||||
m_bufferTextView.setFrame(textFrame);
|
||||
return textFrame;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user