Reduce UI width of load % input box

This commit is contained in:
Srivats P 2021-11-09 22:21:12 +05:30
parent dd7f4a6fd0
commit 27e853e6e8
2 changed files with 6 additions and 1 deletions

View File

@ -28,7 +28,6 @@ PortWidget::PortWidget(QWidget *parent)
: QWidget(parent) : QWidget(parent)
{ {
setupUi(this); setupUi(this);
averageLoadPercent->setMaximum(DBL_MAX);
} }
void PortWidget::setPortGroupList(PortGroupList *portGroups) void PortWidget::setPortGroupList(PortGroupList *portGroups)

View File

@ -121,12 +121,18 @@
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="buttonSymbols">
<enum>QAbstractSpinBox::NoButtons</enum>
</property>
<property name="suffix"> <property name="suffix">
<string>%</string> <string>%</string>
</property> </property>
<property name="decimals"> <property name="decimals">
<number>4</number> <number>4</number>
</property> </property>
<property name="maximum">
<double>999.999900000000025</double>
</property>
</widget> </widget>
</item> </item>
<item> <item>