I would like to customize the position of the CalendarFrame in my UI. I found that I can change the position of the frame using SetPoint() when the frame is visible. However, its position resets when it is closed and then reopened.
I tried some experiments using SetAttribute() on the CalendarFrame, but I didn't have any success getting the new attribute values (for things like UIPanelLayout-xOffset) to alter the frame's behavior.
I was thinking about hijacking the CalendarFrame_OnShow() function and adding my custom position tweak before calling the Blizzard version of the function. Am I going down the correct path or are there better approaches that I should consider?