Esempio n. 1
0
        void container_LayoutChanged(EventLayoutContainer obj)
        {
            int xPos        = (int)eventContainer.Location.x;
            int yPos        = (int)eventContainer.Location.y;
            int innerWidth  = (int)eventContainer.WorkingSize.Width;
            int innerHeight = (int)eventContainer.WorkingSize.Height;

            foreach (LayoutContainer fullscreenPopup in fullscreenPopups)
            {
                fullscreenPopup.Location    = new IntVector2(xPos, yPos);
                fullscreenPopup.WorkingSize = new IntSize2(innerWidth, innerHeight);
                fullscreenPopup.layout();
            }
        }
Esempio n. 2
0
 void layoutContainer_LayoutChanged(EventLayoutContainer obj)
 {
     relayoutNotifications();
 }