<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<hr style="display:inline-block;width:98%" tabindex="-1">
<blockquote style="margin-top: 0px; margin-bottom: 0px;">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Alan Garny <agarny@hellix.com><br>
<b>Sent:</b> Saturday, February 3, 2018 12:34 PM<br>
<b>To:</b> 'Matic Kukovec'<br>
<b>Subject:</b> RE: [QScintilla] QMenuBar Windows vs Linux?</font>
<div> </div>
</div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
Hi Matic,</p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
I don’t use Python or PyQt5, but have you tried to comment out the line that reads:</p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;text-indent:5.25pt">
tabs = QTabWidget(self)</p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
Alan</p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<b><span lang="EN-US">From:</span></b><span lang="EN-US"> QScintilla [mailto:qscintilla-bounces@riverbankcomputing.com]
<b>On Behalf Of </b>Matic Kukovec<br>
<b>Sent:</b> 03 February 2018 12:21<br>
<b>To:</b> QScintilla <qscintilla@riverbankcomputing.com><br>
<b>Subject:</b> [QScintilla] QMenuBar Windows vs Linux?</span></p>
</div>
</div>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
 </p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Hi guys,<br>
<br>
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.<br>
Here is the example on Windows (PyQt5 5.9):<br>
<img data-imagetype="AttachmentByCid" data-custom="AQMkADAwATExATQ3LWJjYWQtNmI0OS0wMAItMDAKAEYAAAO%2BmuqEdozfTYSgfG67EtSJBwDyNX2V2lu3Tp%2F%2FL%2BjVDHQnAAACAQ8AAADyNX2V2lu3Tp%2F%2FL%2BjVDHQnAAFcZ3I9AAAAARIAEABBTXiohK61RqKmd7l6Evmj" naturalheight="268" naturalwidth="420" id="x__x0000_i1025" style="width: 4.375in; height: auto; max-width: 100%;" crossorigin="use-credentials" width="420" height="268" src="cid:image001.png@01D39CEB.5BCF5B80"><br>
and this is the same app on Linux (PyQt5 5.7), the spacing is shown with the red arrows:<br>
<img data-imagetype="AttachmentByCid" data-custom="AQMkADAwATExATQ3LWJjYWQtNmI0OS0wMAItMDAKAEYAAAO%2BmuqEdozfTYSgfG67EtSJBwDyNX2V2lu3Tp%2F%2FL%2BjVDHQnAAACAQ8AAADyNX2V2lu3Tp%2F%2FL%2BjVDHQnAAFcZ3I9AAAAARIAEADxHzIAyG9tS4D6%2BYee3nI5" naturalheight="374" naturalwidth="546" id="x__x0000_i1026" style="width: 5.6875in; height: auto; max-width: 100%;" crossorigin="use-credentials" width="546" height="374" src="cid:image002.png@01D39CEB.5BCF5B80"><br>
Can I remove this gap on Linux?<br>
<br>
Thanks,<br>
Matic<br>
</span></p>
</blockquote>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"><br>
</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Hey Alan,</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"><br>
</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Even without the QTabwidget, the gap is still there! It seems to be something with the layout, but I do not know what.</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"><br>
</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black">Matic<br>
</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"><br>
</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"><br>
</span></p>
<p class="x_MsoNormal" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: "Calibri", sans-serif;">
<span style="font-size:12.0pt; color:black"><br>
</span></p>
<div link="#0563C1" vlink="#954F72" lang="EN-GB">
<div class="x_WordSection1">
<div style="border:none; border-left:solid blue 1.5pt; padding:0cm 0cm 0cm 4.0pt">
<div></div>
</div>
</div>
</div>
</body>
</html>