mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
window has default size
This commit is contained in:
parent
35a63fce8f
commit
dc1b8f45bc
1 changed files with 5 additions and 0 deletions
|
|
@ -39,6 +39,9 @@ from widgets import (
|
|||
|
||||
|
||||
class PublisherWindow(QtWidgets.QWidget):
|
||||
default_width = 1000
|
||||
default_height = 600
|
||||
|
||||
def __init__(self, parent=None):
|
||||
super(PublisherWindow, self).__init__(parent)
|
||||
|
||||
|
|
@ -190,6 +193,8 @@ class PublisherWindow(QtWidgets.QWidget):
|
|||
|
||||
self.setStyleSheet(style.load_stylesheet())
|
||||
|
||||
self.resize(self.default_width, self.default_height)
|
||||
|
||||
# DEBUGING
|
||||
self.set_context_label(
|
||||
"<project>/<hierarchy>/<asset>/<task>/<workfile>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue