Commits

Aleš Erjavec  committed 200a9e2

GUI style fix for corner button text on OSX.

  • Participants
  • Parent commits ceacccf

Comments (0)

Files changed (1)

File Orange/OrangeWidgets/Data/OWDataTable.py

 <contact>Peter Juvan (peter.juvan@fri.uni-lj.si)</contact>
 """
 
+import sys
 from xml.sax.saxutils import escape
 from functools import wraps
 
                 
                 table.efc = efc()
                 btn.installEventFilter(table.efc)
+
+                if sys.platform == "darwin":
+                    btn.setAttribute(Qt.WA_MacSmallSize)
+
                 table.btn = btn
             except:
                 table.btnfailed = True