Removing color picker from ColorField

  • Hello!

    I'm creating simple GeDialog and I'm wondering is it possible to remove color picker that is now default in ColorField in C4D R20?

    For my use what I'm trying to achieve there is no need for color picker and it is taking too much space from my dialog.

    alt text


    import c4d
    from c4d.gui import GeDialog
    class Dialog(GeDialog): 
        def __init__(self):
            super(Dialog, self).__init__()
        def CreateLayout(self):
            self.GroupBegin(1000, c4d.BFH_LEFT, 0, 0)
            self.AddColorField(1001, c4d.BFH_CENTER)
            return True
    dlg = Dialog()
    dlg.Open(c4d.DLG_TYPE_ASYNC, 0, -2, -2)

  • Hello,

    unfortunately it is currently not possible to hide the color picker icon in R20.

    best wishes,

  • I am with the OP.
    Can we please have an option in future updates where this color picker can be hidden (Python and C++ SDK please).