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.
Script:
import c4d
from c4d.gui import GeDialog
class Dialog(GeDialog):
def __init__(self):
super(Dialog, self).__init__()
def CreateLayout(self):
self.SetTitle("Dialog")
self.GroupBegin(1000, c4d.BFH_LEFT, 0, 0)
self.AddColorField(1001, c4d.BFH_CENTER)
self.GroupEnd()
return True
dlg = Dialog()
dlg.Open(c4d.DLG_TYPE_ASYNC, 0, -2, -2)