give a recipe line its own row for its identity
This commit is contained in:
@@ -80,7 +80,12 @@ SchematicChoiceDialog::SchematicChoiceDialog(
|
||||
|
||||
QWidget* card = new QWidget(this);
|
||||
QVBoxLayout* cardLayout = new QVBoxLayout(card);
|
||||
card->setStyleSheet("QWidget { border: 1px solid gray; padding: 8px; }");
|
||||
// Scoped to the card by object name. An unscoped "QWidget" selector cascades to
|
||||
// every descendant, which boxed each label and each icon of the recipe lines
|
||||
// inside it as well.
|
||||
card->setObjectName(QStringLiteral("schematicChoiceCard"));
|
||||
card->setStyleSheet(QStringLiteral(
|
||||
"QWidget#schematicChoiceCard { border: 1px solid gray; padding: 8px; }"));
|
||||
|
||||
QLabel* nameLabel = new QLabel(QString::fromStdString(option.displayName), card);
|
||||
QFont nameFont = nameLabel->font();
|
||||
|
||||
Reference in New Issue
Block a user