1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-02-03 09:44:01 -05:00

Fix height of top and bottom bars in windows

This commit is contained in:
Jon Beniston 2022-04-26 18:18:48 +01:00
parent c6baed9f73
commit 243ad04a37
3 changed files with 3 additions and 3 deletions

View File

@ -95,7 +95,7 @@ protected:
void mouseMoveEvent(QMouseEvent* event) override;
void resetContextMenuType() { m_contextMenuType = ContextMenuNone; }
void updateIndexLabel();
int getAdditionalHeight() const { return 25 + 22; }
int getAdditionalHeight() const { return 22 + 22; } // height of top and bottom bars
void setHighlighted(bool highlighted);
DeviceType m_deviceType;

View File

@ -83,7 +83,7 @@ protected:
void mouseReleaseEvent(QMouseEvent* event) override;
void mouseMoveEvent(QMouseEvent* event) override;
void resetContextMenuType() { m_contextMenuType = ContextMenuNone; }
int getAdditionalHeight() const { return 25 + 22; }
int getAdditionalHeight() const { return 26 + 22; } // height of top and bottom bars
DeviceType m_deviceType;
int m_deviceSetIndex;

View File

@ -72,7 +72,7 @@ protected:
void mouseReleaseEvent(QMouseEvent* event) override;
void mouseMoveEvent(QMouseEvent* event) override;
void resetContextMenuType() { m_contextMenuType = ContextMenuNone; }
int getAdditionalHeight() const { return 25 + 22; }
int getAdditionalHeight() const { return 22 + 22; } // height of top and bottom bars
int m_featureIndex;
QString m_helpURL;