I am having problems with text with multiple lines not reformatting properly when I call loadStyleDeclarations
. However if I load the same stylesheet TWICE then it correctly refreshes and reformats the text.
So what I want to do is refresh my control to get it to reformat the text. I've tried ValidateNow()
and ValidateDisplayList()
but neither seems to cause the correct kind of layout request.
I'm guessing loadStyleDeclarations()
calls some other revalidation function, but i jsut cant find what it is.