Skip to content

Commit

Permalink
Text in Trainbottom window is word wrapped (#4582)
Browse files Browse the repository at this point in the history
So messages can be seen in several lines if they are large, not truncated
  • Loading branch information
peret2000 authored Dec 20, 2024
1 parent b224752 commit 2979ed8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Train/TrainBottom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ TrainBottom::TrainBottom(TrainSidebar *trainSidebar, QWidget *parent) :
notificationText->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
notificationText->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
notificationText->setTextInteractionFlags(Qt::NoTextInteraction);
notificationText->setLineWrapMode(QPlainTextEdit::NoWrap);
notificationText->setLineWrapMode(QPlainTextEdit::WidgetWidth);

//QCheckBox *hideOnIdle = new QCheckBox(tr("Auto Hide"), this);
//intensityControlLayout->addWidget(hideOnIdle);
Expand Down

0 comments on commit 2979ed8

Please sign in to comment.