<div dir="ltr">There's something wrong there, and the font doesn't seem to be antialiased.<div>Does that happen only for the first tab, or for the current tab?</div><div>Have you tried with an *actual* completely minimal code (just one or two tabs with only a QWidget as their pages)?</div><div>If you allow moving tabs (btw, movable tabs are disabled by default, so there's no need for that line), does the title appear in the drag object?</div><div>Are you using some generic stylesheet (with the "*" universal selector or without any selector at all) applied on the application or parent window?</div><div><div><br></div><div>The title is there (if you use very high contrast on very low lightness you'll see it), but considering the overall look I'm inclined to think that's a specific platform/style issue (the ugly font might be a hint).</div><div>Can you provide more information about Linux distribution, window manager, PyQt version, etc.?<br>What is the output of QApplication.style().objectName()?</div><div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 30 apr 2021 alle ore 23:12 Rich Shepard <<a href="mailto:rshepard@appl-ecosys.com">rshepard@appl-ecosys.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The attached screenshot shows all 8 tabs, but the identifying text on the<br>
first one is missing and I don't see why that tab is different.<br>
<br>
Here's the relevant code:<br>
<br>
from views.locations import SitesWindow<br>
from views.geochem import GeochemWindow<br>
from views.biota import BiotaWindow<br>
from views.physical import PhysicalWindow<br>
from views.microbes import MicrobesWindow<br>
from views.wx_data import WxDataWindow<br>
from views.wx_locations import WxSitesWindow<br>
from views.wx_params import WxParamsWindow<br>
<br>
class MainWindow(qtw.QMainWindow):<br>
def __init__(self):<br>
"""MainWindow constructor"""<br>
super().__init__()<br>
<br>
self.setWindowTitle('OpenEDMS')<br>
self.statusBar()<br>
self.setFixedSize(800, 600)<br>
<br>
# tab contents<br>
self.loc = SitesWindow()<br>
self.che = GeochemWindow()<br>
self.bio = BiotaWindow()<br>
self.phy = PhysicalWindow()<br>
self.mic = MicrobesWindow()<br>
self.wxd = WxDataWindow()<br>
self.wxp = WxParamsWindow()<br>
self.wxl = WxSitesWindow()<br>
<br>
tabs = qtw.QTabWidget()<br>
tabs.setMovable(False)<br>
self.setCentralWidget(tabs)<br>
# add tab pages here<br>
tabs.addTab(self.loc, 'Sites')<br>
tabs.addTab(self.che, 'Chemicals')<br>
tabs.addTab(self.bio, 'Biota')<br>
tabs.addTab(self.phy, 'Physical')<br>
tabs.addTab(self.mic, 'Microbes')<br>
tabs.addTab(self.wxp, 'WX Data')<br>
tabs.addTab(self.wxl, 'WX Params')<br>
tabs.addTab(self.wxd, 'WX Sites')<br>
<br>
self.show()<br>
<br>
All eight look the same to me, but 'Sites' is not displayed on the first<br>
tab. What have I missed here?<br>
<br>
TIA,<br>
<br>
Rich</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">È difficile avere una convinzione precisa quando si parla delle ragioni del cuore. - "Sostiene Pereira", Antonio Tabucchi<br><a href="http://www.jidesk.net" target="_blank">http://www.jidesk.net</a></div>