Why does the Message at the bottom disappear after I redraw the component appearance?
When I was creating the property, I rearranged the layout of the component, but after redrawing the appearance, the message display box at the bottom got covered.
After redrawing the component’s appearance like this, the bottom message disappeared.
How can I make the bottom self.Message show up again?
Hi @Stellar,
The balloon isn’t drawn by the canvas — it’s drawn inside RenderComponentCapsule, but only when the first argument, drawComponentBaseBox, is True. You’re passing False there, so the message never gets painted (and it also stops being clickable).
If you can live with GH drawing the background box, just flip it:
self.RenderComponentCapsule(canvas, graphics, True, True, False, True, True, True)
and drop your own GH_Capsule.CreateCapsule(self.ContentBox, …) block — GH already picks the Error/Warning/Normal palette from the runtime messages for you.
– Dale

