[escher] Add method to set the alignment in event odd buffer text view

Change-Id: I2d16f1b503b48a993ad9c0760a4c8255ea49ff31
This commit is contained in:
Émilie Feral
2016-12-23 13:59:54 +01:00
parent 924b0372d0
commit 4ee0d26726
2 changed files with 5 additions and 0 deletions

View File

@@ -17,6 +17,10 @@ void EvenOddPointerTextCell::setText(const char * title, KDColor textColor) {
m_pointerTextView.setTextColor(textColor);
}
void EvenOddPointerTextCell::setAlignment(float horizontalAlignment, float verticalAlignment) {
m_pointerTextView.setAlignment(horizontalAlignment, verticalAlignment);
}
int EvenOddPointerTextCell::numberOfSubviews() const {
return 1;
}