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:[email protected]] On
Behalf Of Matic Kukovec
Sent: 03 February 2018 14:19
To: QScintilla <[email protected]>
Subject: Re: [QScintilla] QMenuBar Windows vs Linux?

 

  _____  

From: Alan Garny <[email protected] <mailto:[email protected]> >
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:[email protected]] On
Behalf Of Matic Kukovec
Sent: 03 February 2018 12:21
To: QScintilla <[email protected]
<mailto:[email protected]> >
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

_______________________________________________
QScintilla mailing list
[email protected]
https://www.riverbankcomputing.com/mailman/listinfo/qscintilla

Reply via email to