UI: Mac fix — remove wizard background padding
If style is not set it default's to Mac's style on Mac which adds padding for a background. Looks like wasted space on Mac because there is no background. Matches windows. Does not affect Linux. https://doc.qt.io/qt-5/qwizard.html#elements-of-a-wizard-pagemaster
parent
2e4e986dc0
commit
6f268e490c
|
@ -745,7 +745,7 @@ AutoConfig::AutoConfig(QWidget *parent) : QWizard(parent)
|
|||
|
||||
std::string serviceType;
|
||||
GetServiceInfo(serviceType, serviceName, server, key);
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
setWizardStyle(QWizard::ModernStyle);
|
||||
#endif
|
||||
streamPage = new AutoConfigStreamPage();
|
||||
|
|
Loading…
Reference in New Issue