Skip to content

Commit

Permalink
Label spacing edits
Browse files Browse the repository at this point in the history
  • Loading branch information
erinharrington-12 committed Oct 14, 2024
1 parent d1dc1a3 commit e0df73e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/StatusBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ StatusBar::StatusBar(QWidget *parent)
{
setSizeGripEnabled(false);
eventModeLabel = new QLabel("Event Mode Enabled", this);
eventModeLabel->setGeometry(340, 0, 800, 25);
eventModeLabel->setGeometry(332, 0, 800, 25);
eventModeLabel->setScaledContents(true);
eventModeLabel->lower();
eventModeLabel->hide();
Expand All @@ -33,7 +33,7 @@ void StatusBar::addPermanentEventModeLabel()
if (!eventModeLabel)
{
eventModeLabel = new QLabel("Event Mode Enabled", this);
eventModeLabel->setGeometry(340, 0, 800, 25);
eventModeLabel->setGeometry(332, 0, 800, 25);
eventModeLabel->setScaledContents(true);
eventModeLabel->lower();
eventModeLabel->show();
Expand Down
22 changes: 20 additions & 2 deletions ui/NetworkSettingsWidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,18 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<layout class="QHBoxLayout" name="horizontalLayout_6" stretch="2,0,0">
<property name="leftMargin">
<number>10</number>
</property>
<item>
<widget class="QLabel" name="TwoFourGHZLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>35</width>
Expand Down Expand Up @@ -67,6 +73,12 @@
</item>
<item>
<widget class="QCheckBox" name="toggleSwitch">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>100</width>
Expand Down Expand Up @@ -97,6 +109,12 @@ QCheckBox::indicator:unchecked{
</item>
<item>
<widget class="QLabel" name="FiveGHZLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>35</width>
Expand All @@ -105,7 +123,7 @@ QCheckBox::indicator:unchecked{
</property>
<property name="maximumSize">
<size>
<width>134</width>
<width>80</width>
<height>16777215</height>
</size>
</property>
Expand Down

0 comments on commit e0df73e

Please sign in to comment.