mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
tab name dialog has default size
This commit is contained in:
parent
3b5bc8841c
commit
f47c4223cd
1 changed files with 5 additions and 0 deletions
|
|
@ -198,6 +198,9 @@ class PythonTabWidget(QtWidgets.QWidget):
|
|||
|
||||
|
||||
class TabNameDialog(QtWidgets.QDialog):
|
||||
default_width = 330
|
||||
default_height = 85
|
||||
|
||||
def __init__(self, parent):
|
||||
super(TabNameDialog, self).__init__(parent)
|
||||
|
||||
|
|
@ -231,6 +234,8 @@ class TabNameDialog(QtWidgets.QDialog):
|
|||
|
||||
self._result = None
|
||||
|
||||
self.resize(self.default_width, self.default_height)
|
||||
|
||||
def set_tab_name(self, name):
|
||||
self._name_input.setText(name)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue