diff --git a/python/GafferUI/ColorChooser.py b/python/GafferUI/ColorChooser.py index 06f3f07998..cec4e1e7e6 100644 --- a/python/GafferUI/ColorChooser.py +++ b/python/GafferUI/ColorChooser.py @@ -481,8 +481,6 @@ def __init__( self, color=imath.Color3f( 1 ), **kw ) : self.__colorField = _ColorField( color, "h" ) self.__colorValueChangedConnection = self.__colorField.valueChangedSignal().connect( Gaffer.WeakMethod( self.__colorValueChanged ), scoped = False ) - # \todo Don't hide color field when we're ready to expose the UI - self.__colorField.setVisible( False ) with GafferUI.GridContainer( spacing = 4 ) : @@ -490,6 +488,7 @@ def __init__( self, color=imath.Color3f( 1 ), **kw ) : c, staticComponent = self.__colorField.getColor() for row, component in enumerate( "rgbahsvtmi" ) : self.__channelLabels[component] = GafferUI.Label( component.capitalize(), parenting = { "index" : ( 0, row ), "alignment" : ( GafferUI.HorizontalAlignment.Center, GafferUI.VerticalAlignment.Center ) } ) + self.__channelLabels[component]._qtWidget().setObjectName( "gafferColorComponentLabel" ) if component != "a" : if component == staticComponent : @@ -545,12 +544,6 @@ def __init__( self, color=imath.Color3f( 1 ), **kw ) : self.__colorChangedSignal = Gaffer.Signals.Signal2() - # \todo Don't hide TMI sliders when we're ready to expose the new UI - for c in "tmi" : - self.__channelLabels[c].setVisible( False ) - self.__numericWidgets[c].setVisible( False ) - self.__sliders[c].setVisible( False ) - self.__updateUIFromColor() ## The default color starts as the value passed when creating the widget.