Skip to content

Commit

Permalink
UIEditor : Improve layout of Box node plug creator toggles
Browse files Browse the repository at this point in the history
  • Loading branch information
murraystevenson committed Aug 22, 2024
1 parent 76ee0c3 commit c413482
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
Improvements
------------

- UI Editor : Added the ability to edit the scale of node icons.
- UI Editor :
- Added the ability to edit the scale of node icons.
- Improved layout of Box node plug creator visibility toggles.

API
---
Expand Down
4 changes: 2 additions & 2 deletions python/GafferUI/UIEditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __init__( self, scriptNode, **kw ) :
_Label( "Plug Creators" )

for side in ( "Top", "Bottom", "Left", "Right" ) :
_Label( side )._qtWidget().setFixedWidth( 40 )
GafferUI.Label( side )
self.__nodeMetadataWidgets.append( MetadataWidget.BoolMetadataWidget(
key = "noduleLayout:customGadget:addButton%s:visible" % side,
defaultValue = True
Expand Down Expand Up @@ -406,7 +406,7 @@ class _Row( GafferUI.ListContainer ) :

def __init__( self, *args, **kw ) :

GafferUI.ListContainer.__init__( self, GafferUI.ListContainer.Orientation.Horizontal, spacing = 4, *args, **kw )
GafferUI.ListContainer.__init__( self, GafferUI.ListContainer.Orientation.Horizontal, spacing = 8, *args, **kw )

##########################################################################
# Hierarchical representation of a plug layout, suitable for manipulating
Expand Down

0 comments on commit c413482

Please sign in to comment.