Skip to content

Commit

Permalink
window decorations problem on Mac fixed...
Browse files Browse the repository at this point in the history
  • Loading branch information
lchorbadjiev committed Feb 27, 2019
1 parent 27724f0 commit bdb5ff1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scgv/qtviews/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ class BaseDialog(QDialog):

def __init__(self, *args, **kwargs):
super(BaseDialog, self).__init__(*args, **kwargs)
self.setWindowFlags(
self.windowFlags() |
Qt.CustomizeWindowHint |
Qt.WindowMaximizeButtonHint |
Qt.WindowType_Mask)
# self.setWindowFlags(
# self.windowFlags() |
# Qt.CustomizeWindowHint |
# Qt.WindowMaximizeButtonHint |
# Qt.WindowType_Mask)
self.signals = CloseSignals()
print(self.sizeHint())
# self.resize(self.sizeHint())
Expand Down

0 comments on commit bdb5ff1

Please sign in to comment.