[QScintilla] QMenuBar Windows vs Linux?
Alan Garny
agarny at hellix.com
Sat Feb 3 13:39:58 GMT 2018
Hi Matic,
If you think it's an issue with the layout, then you might want to check
the value of the layout's spacing, as well as its contents' margins?
Alan.
From: QScintilla [mailto:qscintilla-bounces at riverbankcomputing.com] On
Behalf Of Matic Kukovec
Sent: 03 February 2018 14:19
To: QScintilla <qscintilla at riverbankcomputing.com>
Subject: Re: [QScintilla] QMenuBar Windows vs Linux?
_____
From: Alan Garny <agarny at hellix.com <mailto: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
<mailto: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):
and this is the same app on Linux (PyQt5 5.7), the spacing is shown with the
red arrows:
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/a1b54573/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 1906 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20180203/a1b54573/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 3288 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20180203/a1b54573/attachment-0003.png>
More information about the QScintilla
mailing list