Skip to main content
Participating Frequently
April 15, 2010
Question

Adorner not refreshing after pageItem move/resize

  • April 15, 2010
  • 1 reply
  • 509 views

Hi

Following the FrameLabel/FrameLabelUI SDK example, I have added an adorner to a pageitem (basically I add string "test" at the bottom right corner of the page item (outside the pageitem bound).

However, when i move the page item or resize it, the adorned string "test" does not always move with the item and gets stuck at its original location. Only when i do a refresh of the page, that the adorned string "test" move to the boundary of the pageitem (bottom right corner). I am wondering if there is any way to avoid this situation so that anytime the object moves/resizes, the adorned text also aligns with the object

===

|     |

|     |

===

     "test"  <-- adorned text

Now I move the item

                    ===

                    |     |

                    |     |

                    ===

"test"  <--  adorned text did not move with the object

thanks

Sameer

This topic has been closed for replies.

1 reply

Jongware
Community Expert
Community Expert
April 15, 2010

I think that may be because it's fully outside the default redraw area of the frame. This only extends as far as the outer edge of the corner markers. I'm pretty sure I saw this mentioned somewhere in the SDK documentation ...