File tree Expand file tree Collapse file tree
SerialPrograms/Source/CommonFramework/Panels/UI Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class HeightDelegate : public QStyledItemDelegate {
2121 using QStyledItemDelegate::QStyledItemDelegate;
2222 QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override {
2323 QSize s = QStyledItemDelegate::sizeHint (option, index);
24- int vertical_padding = 8 ;
24+ int vertical_padding = 2 ;
2525 s.setHeight (option.fontMetrics .height () + vertical_padding);
2626 return s;
2727 }
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ PanelListWidget::PanelListWidget(
4444 // "}"
4545 // );
4646
47- int vertical_padding = 4 ;
47+ int vertical_padding = 2 ;
4848 int row_height = this ->fontMetrics ().height () + vertical_padding;
4949 for (PanelEntry& item : list){
5050 const std::string& display_name = item.display_name ;
You can’t perform that action at this time.
0 commit comments