mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
400a8fc2a8
commit
d71e5f289a
@@ -77,6 +77,7 @@ namespace BlackGui
|
||||
QPushButton *button = new QPushButton(this);
|
||||
button->setText(station.getCallsignAsString());
|
||||
if (m_withIcons) { button->setIcon(station.toPixmap()); }
|
||||
// else { button->setStyleSheet("text-align: left;"); }
|
||||
QObject::connect(button, &QPushButton::released, this, &CAtcButtonComponent::onButtonClicked);
|
||||
const CVariant atcv = CVariant::fromValue(station);
|
||||
layout->addWidget(button, row, col++);
|
||||
|
||||
Reference in New Issue
Block a user