示例#1
0
        protected void RepositionControls()
        {
            LowerSection.Height = 80;
            LowerSection.Width  = MainWindow.Width - 20;

            LeftTwoThirds.PositionComponent(MainWindow, 0, 0);

            // Tuck the store under the character tab buttons in low res.
            if (Engine.SmallScreen && MainWindow.Bounds.xMax + 30 > CharacterInfo.Bounds.xMin)
            {
                MainWindow.Y += 32;
            }

            MainWindow.Y -= LowerSection.Height / 2;

            LowerSection.Y = MainWindow.Y + MainWindow.Height - 12;
            LeftTwoThirds.PositionComponent(LowerSection, 0, null);

            LowerSection.PositionComponent(BackButton, 0, 0);
        }