Okay, I have a workaround for this that should work for all Mac OS X users with the latest Sigil-0.9.11
Using a text editor please create the following text file:
qt_styles.qss
Notice the name must be an exact match: qt_styles.qss
not .css
And add the following 2 lines to it:
Code:
QTabBar::close-button { background-image: url(:/qt-project.org/styles/commonstyle/images/standardbutton-closetab-16.png);}
QTabBar::close-button:hover { background-image: url(:/qt-project.org/styles/commonstyle/images/standardbutton-closetab-hover-16.png);}
Then copy that file to your Sigil Preferences folder which on a Mac can be found by Sigil->Preferences and hitting the Open Preferences Location button at the bottom of the window.
This should take you to /Users/YOURUSERID/Library/ApplicationSupport/sigil-ebook/sigil/
which is where you want to put the qt_styles.qss file you made.
Then exit Sigil completely and restart it.
You should now have close buttons back on your tabs (and official ones from qt as well)
This will fully workaround the bug in Qt for macOS in Qt 5.11.2
Hope this helps,
Kevin
Alternatively you can use the ones we have built into Sigil (which I personally find a bit uglier but ...) in your qt_styles.qss file:
Code:
QTabBar::close-button { background-image: url(:/main/widget-close-16.png);}
QTabBar::close-button:hover { background-image: url(:/main/widget-close-16.png);}
Quote:
Originally Posted by dynabook
I am finding a weird effect on my Mac. The open file tabs have no "close" X and I have only been able to close the tabs by clicking around on the tab. I am running OS 10.14.2.
I have updated TCL to 8.6.8.0.
--MH
|