// Hide the columns that hold the detailed item information
tree_view_->hideColumn(2); // ID
+ // Ensure that all decoder tag names are fully visible by default
+ tree_view_->resizeColumnToContents(0);
+
+ tree_view_->setIndentation(10);
+
info_box_->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
QVBoxLayout* info_box_layout = new QVBoxLayout(info_box_);
info_box_layout->addWidget(info_label_header_);
tags.append(s);
}
- info_label_header_->setText(QString("<span style='font-size:large;font-weight:bold'>%1 (%2)</span><br>%3")
+ info_label_header_->setText(QString("<span style='font-size:large'><b>%1 (%2)</b></span><br><i>%3</i>")
.arg(longname, id, desc));
info_label_body_->setText(doc);
info_label_footer_->setText(tr("<p align='right'>Tags: %1</p>").arg(tags));