Skip to content

Commit

Permalink
ColorChooser : Add spacers between color spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmehl committed Jul 16, 2024
1 parent 5ce407d commit a14d565
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/GafferUI/ColorChooser.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ def __init__( self, color=imath.Color3f( 1 ), **kw ) :
self.__componentValueChangedConnections.append(
slider.valueChangedSignal().connect( Gaffer.WeakMethod( self.__componentValueChanged ), scoped = False )
)
if component in "bavi" :
GafferUI.Spacer( imath.V2i( 0, 4 ), imath.V2i( 0, 4 ) )

# initial and current colour swatches
with GafferUI.ListContainer( GafferUI.ListContainer.Orientation.Horizontal, spacing = 4 ) as self.__swatchRow :
Expand Down

0 comments on commit a14d565

Please sign in to comment.