mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher/message_table_cell_with_chevron_and_expression] subAccessoryView has margin by default
This commit is contained in:
committed by
Léa Saviot
parent
9a803013b6
commit
0f3fc46ad1
@@ -16,7 +16,6 @@ GraphOptionsController::GraphOptionsController(Responder * parentResponder, Inpu
|
||||
m_store(store),
|
||||
m_graphController(graphController)
|
||||
{
|
||||
static_cast<ExpressionView *>(m_changeRegressionCell.subAccessoryView())->setHorizontalMargin(Metric::ExpressionViewHorizontalMargin);
|
||||
}
|
||||
|
||||
const char * GraphOptionsController::title() {
|
||||
|
||||
@@ -10,7 +10,6 @@ StoreParameterController::StoreParameterController(Responder * parentResponder,
|
||||
m_changeRegressionCell(I18n::Message::Regression),
|
||||
m_lastSelectionIsRegression(false)
|
||||
{
|
||||
static_cast<ExpressionView *>(m_changeRegressionCell.subAccessoryView())->setHorizontalMargin(Metric::ExpressionViewHorizontalMargin);
|
||||
}
|
||||
|
||||
void StoreParameterController::viewWillAppear() {
|
||||
|
||||
@@ -15,7 +15,6 @@ ListParameterController::ListParameterController(::InputEventHandlerDelegate * i
|
||||
m_typeParameterController(this, listController, TableCell::Layout::Horizontal, Metric::CommonTopMargin, Metric::CommonRightMargin,
|
||||
Metric::CommonBottomMargin, Metric::CommonLeftMargin)
|
||||
{
|
||||
static_cast<ExpressionView *>(m_typeCell.subAccessoryView())->setHorizontalMargin(Metric::ExpressionViewHorizontalMargin);
|
||||
}
|
||||
|
||||
const char * ListParameterController::title() {
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
#include <escher/message_table_cell_with_chevron_and_expression.h>
|
||||
#include <escher/metric.h>
|
||||
#include <escher/palette.h>
|
||||
|
||||
MessageTableCellWithChevronAndExpression::MessageTableCellWithChevronAndExpression(I18n::Message message, const KDFont * font) :
|
||||
MessageTableCellWithChevron(message, font),
|
||||
m_subtitleView(1.0f, 0.5f, Palette::GreyDark)
|
||||
{
|
||||
m_subtitleView.setHorizontalMargin(Metric::ExpressionViewHorizontalMargin);
|
||||
}
|
||||
|
||||
View * MessageTableCellWithChevronAndExpression::subAccessoryView() const {
|
||||
|
||||
Reference in New Issue
Block a user