Table header font shape is different between Windows OS and Raspberry Pi
-
Hi,
You should add:
- Qt version
- Linux distributions
- Desktop environment
Both on your desktop and RPi.
-
Hi,
You should add:
- Qt version
- Linux distributions
- Desktop environment
Both on your desktop and RPi.
-
I doubt there is the same data - in one screenshot you've 'WaveLength', in the other 'WaveLength5' - maybe there are linebreaks too. Make sure that you work on the same data when comparing screenshots.
-
I doubt there is the same data - in one screenshot you've 'WaveLength', in the other 'WaveLength5' - maybe there are linebreaks too. Make sure that you work on the same data when comparing screenshots.
wrote on 11 Feb 2022, 06:25 last edited byI have already confirmed that I have the same data.
Putting 5 on it was just to make sure the text changes. -
Use a simple model (or QTableWidget) without your test application to see if it's really a program on the Qt side (which I doubt).
Also try to start with a different style (e.g. windows) on your raspberry. -
Use a simple model (or QTableWidget) without your test application to see if it's really a program on the Qt side (which I doubt).
Also try to start with a different style (e.g. windows) on your raspberry.wrote on 11 Feb 2022, 06:46 last edited byI also did several tests. I tested it after running it on Ubuntu OS, but I think it is a problem on the qt side
Because when I ran the same in Ubuntu environment, the result was the same with Raspberry. And there are several people who are raising this issue. -
So did you actually run it on the raspberry pi with the windows style?
-
So did you actually run it on the raspberry pi with the windows style?
wrote on 11 Feb 2022, 07:03 last edited byAre you referring to the desktop version of the Windows-style Raspberry Pi?
I'm developing in a raspberry environment on the desktop version. -
I don't understand your question.
You posted a screenshot with a wrong height. Start this application with the windows style and see if it's still an issue. -
Are you referring to the desktop version of the Windows-style Raspberry Pi?
I'm developing in a raspberry environment on the desktop version.@IknowQT first check what styles are available on your target OS
qDebug() << QStyleFactory::keys();
than set it to "Windows" if available
QApplication app(argc, argv); qDebug() << QStyleFactory::keys(); app.setStyle(QStyleFactory::create("Windows"));
11/11