Hi Devmachines,
is there a possibility to show all text columns default in text alignment left and not in right?
I found in the GridColumnBase Constructor the AlignRight statement for all columns in default.
I would not change this because then also numeric columns are alignet right by default.
Thanks for feedback.
Michael
GridColumnBase::GridColumnBase(GridViewBase* view, const QString& caption)
: QObject(view->grid()), m_visible(true), m_fixedPosition(Qtitan::AtNone), m_view(view),
m_caption(caption),
m_captionVisible(true),
m_textAlignment(Qt::AlignVCenter | Qt::AlignRight),
m_iconAlignment(Qt::AlignVCenter | Qt::AlignLeft),
m_textElideMode(Qt::ElideRight), m_textOrientation(Qt::Horizontal),
m_decorationColor(Qt::transparent), m_columnEditor(Q_NULL),
m_isHidingEnabled(true), m_isMovingEnabled(true), m_isHorSizingEnabled(true), m_autoWidth(true),
m_minWidth(QtnGridMinTableColumnWidth), m_maxWidth(QtnGridMaxTableColumnWidth),
m_menuButtonVisible(false)
{
}