Fix height of top and bottom bars in windows

pull/1216/head
Jon Beniston 2022-04-26 18:18:48 +01:00
rodzic c6baed9f73
commit 243ad04a37
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -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;

Wyświetl plik

@ -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;

Wyświetl plik

@ -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;