[escher] TableCell: the subviews are layoutted horizontally or

vertically. We add an option to decide which subviews should overlap on
top of the other if there is not enough space
This commit is contained in:
Émilie Feral
2019-12-27 18:09:17 +01:00
committed by Léa Saviot
parent 5974149162
commit 4bd3dfd542
10 changed files with 137 additions and 79 deletions

View File

@@ -6,7 +6,7 @@ ExpressionTableCellWithPointer::ExpressionTableCellWithPointer(Responder * paren
ExpressionTableCell(parentResponder, layout),
m_accessoryView(KDFont::SmallFont, accessoryMessage, 0.0f, 0.5f, Palette::GreyDark, KDColorWhite)
{
if (layout == Layout::Horizontal) {
if (layout != Layout::Vertical) {
m_accessoryView.setAlignment(1.0f, 0.5f);
}
}