def _render(self, c, attr): c.addStory(pisa_reportlab.PmlInput(attr.name, type="select", default=c.select_options[0], options=c.select_options, width=100, height=40)) c.select_options = None
def _render(self, c, attr): width = 10 height = 10 if attr.type == "text": width = 100 height = 12 c.addStory(pisa_reportlab.PmlInput(attr.name, type=attr.type, default=attr.value, width=width, height=height, ))
def _render(self, c, attr): c.addStory(pisa_reportlab.PmlInput(attr.name, default="", width=100, height=100))