Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Why does the combobox look disproportionate when applying the fusion style?
Qt 6.11 is out! See what's new in the release blog

Why does the combobox look disproportionate when applying the fusion style?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 291 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • lincolnL Offline
    lincolnL Offline
    lincoln
    wrote on last edited by lincoln
    #1

    Why does the combobox, when its options are displayed, look so disproportionate and so poorly implemented visually compared to the native operating system style when the "Fusion" style is applied in a Windows 11 24H2 environment with Qt 6.10?

    #include "facturadormw.hpp"
    // #include "logindialog.hpp"
    
    #include <QApplication>
    #include <QStyleFactory>
    #include <QFile>
    
    int main(int argc, char *argv[])
    {
      QApplication a(argc, argv);
    
      a.setOrganizationName("SWSystem's");
      a.setApplicationName("FacturadorSW");
      a.setApplicationVersion("1.0");
    
      a.setStyle(QStyleFactory::create("Fusion"));
    
      FacturadorMW w;
      w.show();
    
      // LogInDialog logIn;
      // logIn.exec();
      return a.exec();
    }
    
    

    e8d3bfc7-7377-4cf5-aa2e-9cc708d52dda-image.png

    to this:
    ee692bb0-4da0-499f-8335-35e0534c3bc6-image.png

    Solitary wolf

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved