![Avatar](https://secure.gravatar.com/avatar/4f6d80c7ca5f44a4ad95bf7c638b33ad.jpg?s=64&d=identicon&r=g)
Hi,
I am attempting to create a custom margin in SyntaxEdutir within our app. I copied across the custom margin and margin factory from your Sample app. However when i run the application the column doesnt seem to appear.
From some debugging it seems that in the CustomMargin::OnViewTextAreaLayout() function, the customDrawElement member is null and so no custom drawing is performed. I think this may be the reason but not too sure.
Can i please ask how i set up the customDrawElement within the custom margin, or if i have missed some initialisation please?
Thanks,
James
I am attempting to create a custom margin in SyntaxEdutir within our app. I copied across the custom margin and margin factory from your Sample app. However when i run the application the column doesnt seem to appear.
From some debugging it seems that in the CustomMargin::OnViewTextAreaLayout() function, the customDrawElement member is null and so no custom drawing is performed. I think this may be the reason but not too sure.
Can i please ask how i set up the customDrawElement within the custom margin, or if i have missed some initialisation please?
Thanks,
James