Works fine here:
#include <QtGui>
#include <QDebug>
int main(int argc, char *argv[])
{
c.setStyleSheet("QCheckBox::indicator { width: 32px; height: 32px; } ");
c.show();
d.show();
return app.exec();
}
#include <QtGui>
#include <QDebug>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QCheckBox c("Test resized");
c.setStyleSheet("QCheckBox::indicator { width: 32px; height: 32px; } ");
c.show();
QCheckBox d("Test Default");
d.show();
return app.exec();
}
To copy to clipboard, switch view to plain text mode
Where are you applying the style sheet?
Bookmarks