CTextEdit platform baseline


Is there a way to modify the baseline offset that the platform text editor displays its text in CTextEdit? I’ve attached a pic of what I mean. When clicking on a text field to edit a CTextEdit, the platform text editor draws the text too high.

EditText offset

Using VSTGUI 4.11.0.

Thanks for any insight,

Found a workaround… overriding takeFocus( void ) and looseFocus( void ) and modifying the control’s view size before passing it to the base class can help realign the platform editor. Not sure if this is the best approach though.