Skip to content

Commit 1f8949d

Browse files
committed
Adjust manual heights.
1 parent 6a4a0d6 commit 1f8949d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Common/Qt/NoWheelComboBox.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

SerialPrograms/Source/CommonFramework/Panels/UI/PanelListWidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)