Screen resolution on KDE and Windows
I was developing a small application using Qt4 to get it cross-platform, but when I compared the result I found a really disturbing issue.
On both Linux (KDE4) and Windows 7 my screen resolution is 1680 x 1050
but on KDE my application widgets are bigger and there is not enough place to have both important widgets opened without one being partially hidden. It just looks as if the real resolution is smaller on Linux.
Do you have any ideas开发者_如何学编程 what is the cause of such situation and if there is any way to handle it?
Thanks in advance
This is due to the operating systems window managers theme.
By default Qt will use the operating systems style to ensure a constant look and feel with the underlying OS.
You can adjust this by setting the style of your application:
http://developer.qt.nokia.com/doc/qt-4.8/qstyle.html
精彩评论