Skip to content

Commit

Permalink
[STUDIO] Adjust paned window and feature size defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ObaraEmmanuel committed Aug 10, 2024
1 parent f18dbd6 commit f2ef7de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions studio/feature/eventspane.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ class EventPane(BaseFeature):
_defaults = {
**BaseFeature._defaults,
"side": "right",
"visible": False,
}
NO_SELECTION_MSG = _("You have not selected any widget selected")
NO_EVENT_MSG = _("You have not added any bindings")
Expand Down
3 changes: 2 additions & 1 deletion studio/feature/variablepane.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ class VariablePane(BaseFeature):

_defaults = {
**BaseFeature._defaults,
"side": "right"
"side": "right",
"visible": False,
}

_definitions = {
Expand Down
6 changes: 3 additions & 3 deletions studio/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ def __init__(self, master=None, **cnf):
self._clipboard = None
self.current_preview = None

self._pane.add(self._left, minsize=320, width=320, sticky='nswe', stretch='never')
self._pane.add(self._center, minsize=400, stretch="always", sticky='nswe')
self._pane.add(self._right, minsize=320, width=320, sticky='nswe', stretch='never')
self._pane.add(self._left, minsize=360, width=320, sticky='nswe', stretch='never')
self._pane.add(self._center, stretch="always", sticky='nswe')
self._pane.add(self._right, minsize=360, width=320, sticky='nswe', stretch='never')

self._left.restore_size()
self._right.restore_size()
Expand Down

0 comments on commit f2ef7de

Please sign in to comment.