I’ve got a label that lives in a parent component that’s not much wider. When I go to edit the text of the label, the TextEditor comes up offset 10 or so pixels to the left, and the first 5 or so characters of my Label are out of view on the left of the TextEditor.
I can compensate for this by overriding createEditorComponent() in my derived Label class, but what I’d rather do is have the editing look more as if it were in place, so the font height and location match the Label’s.
I thought perhaps I could do this by overriding showEditor() to adjust the location where the TextEditor appears, but the editor is a private variable. Is there another way to change the editor’s location, or could I lobby for making the editor protected, so it could be manipulated by derived classes?