mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
parent
5e2129a93b
commit
d5c8ed79a0
@ -688,6 +688,7 @@ void RiuQwtPlotWidget::applyPlotTitleToQwt()
|
|||||||
{
|
{
|
||||||
QString plotTitleToApply = m_plotTitleEnabled ? m_plotTitle : QString( "" );
|
QString plotTitleToApply = m_plotTitleEnabled ? m_plotTitle : QString( "" );
|
||||||
QwtText plotTitle = this->title();
|
QwtText plotTitle = this->title();
|
||||||
|
plotTitle.setRenderFlags( Qt::AlignHCenter | Qt::TextSingleLine );
|
||||||
if ( plotTitleToApply != plotTitle.text() )
|
if ( plotTitleToApply != plotTitle.text() )
|
||||||
{
|
{
|
||||||
plotTitle.setText( plotTitleToApply );
|
plotTitle.setText( plotTitleToApply );
|
||||||
|
Loading…
Reference in New Issue
Block a user