[QScintilla] QMenuBar Windows vs Linux?

Matic Kukovec kukovecmatic at hotmail.com
Sat Feb 3 13:19:25 GMT 2018


________________________________
From: Alan Garny <agarny at hellix.com>
Sent: Saturday, February 3, 2018 12:34 PM
To: 'Matic Kukovec'
Subject: RE: [QScintilla] QMenuBar Windows vs Linux?


Hi Matic,



I don’t use Python or PyQt5, but have you tried to comment out the line that reads:



tabs = QTabWidget(self)



Alan



From: QScintilla [mailto:qscintilla-bounces at riverbankcomputing.com] On Behalf Of Matic Kukovec
Sent: 03 February 2018 12:21
To: QScintilla <qscintilla at riverbankcomputing.com>
Subject: [QScintilla] QMenuBar Windows vs Linux?



Hi guys,

I have a simple application and noticed that on Linux there is an additional spacing between the window's frame and the central widget at the top. The application is attached to this email.
Here is the example on Windows (PyQt5 5.9):
[cid:image001.png at 01D39CEB.5BCF5B80]
and this is the same app on Linux (PyQt5 5.7), the spacing is shown with the red arrows:
[cid:image002.png at 01D39CEB.5BCF5B80]
Can I remove this gap on Linux?

Thanks,
Matic


Hey Alan,


Even without the QTabwidget, the gap is still there! It seems to be something with the layout, but I do not know what.


Matic



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20180203/8b0211a2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1906 bytes
Desc: image001.png
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20180203/8b0211a2/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 3288 bytes
Desc: image002.png
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20180203/8b0211a2/attachment-0001.png>


More information about the QScintilla mailing list