diff --git a/src/ui/fortmanager.cpp b/src/ui/fortmanager.cpp index 09273b71..a05106eb 100644 --- a/src/ui/fortmanager.cpp +++ b/src/ui/fortmanager.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include "activityLog/logbuffer.h" @@ -96,6 +97,11 @@ void FortManager::setupEngine() m_appWindow = qobject_cast( m_engine->rootObjects().first()); Q_ASSERT(m_appWindow); + + // XXX: Workaround to fix icons' incorrect position on main tab buttons + QTimer::singleShot(100, [this]() { + m_appWindow->resize(1024, 768); + }); } void FortManager::showTrayIcon() diff --git a/src/ui/qml/main.qml b/src/ui/qml/main.qml index c53f75c6..a550d62a 100644 --- a/src/ui/qml/main.qml +++ b/src/ui/qml/main.qml @@ -7,8 +7,8 @@ import com.fortfirewall 1.0 ApplicationWindow { id: appWindow - width: 800 - height: 600 + width: 1025 + height: 768 minimumWidth: 700 minimumHeight: 600