1

Closed

Resizing GUIExample crashes

description

I resized the 3rd tab screen (the screen with nested scrollable windows. ) of the GUIExample app with mouse (user resizing).

Note: I used the GUiExample thats included with the source code download-- not the Example Project download


System.ArgumentException was unhandled by user code
HResult=-2147024809
Message=The scissor rectangle is invalid. The scissor rectangle cannot be larger than or outside of the current render target bounds.
Parameter name: value
Source=Microsoft.Xna.Framework.Graphics
ParamName=value
StackTrace:
   at Microsoft.Xna.Framework.Graphics.GraphicsDevice.set_ScissorRectangle(Rectangle value)
   at Ruminate.GUI.Framework.RenderManager.<Draw>b__3(TreeNode`1 node) in c:\Users\Ivan\Documents\Visual Studio 2013\Projects\RuminateSource\RuminateGui\Gui\Rendering\RenderManager.cs:line 77
   at Ruminate.DataStructures.TreeNode`1.DfsOperation(NodeOperation`1 operation) in c:\Users\Ivan\Documents\Visual Studio 2013\Projects\RuminateSource\RuminateGui\Gui\Utils\TreeNode.cs:line 114
   at Ruminate.DataStructures.TreeNode`1.DfsOperation(NodeOperation`1 operation) in c:\Users\Ivan\Documents\Visual Studio 2013\Projects\RuminateSource\RuminateGui\Gui\Utils\TreeNode.cs:line 116
   at Ruminate.DataStructures.TreeNode`1.DfsOperationChildren(NodeOperation`1 operation) in c:\Users\Ivan\Documents\Visual Studio 2013\Projects\RuminateSource\RuminateGui\Gui\Utils\TreeNode.cs:line 108
   at Ruminate.GUI.Framework.RenderManager.Draw(Root`1 dom) in c:\Users\Ivan\Documents\Visual Studio 2013\Projects\RuminateSource\RuminateGui\Gui\Rendering\RenderManager.cs:line 75
   at Ruminate.GUI.Framework.Gui.Draw() in c:\Users\Ivan\Documents\Visual Studio 2013\Projects\RuminateSource\RuminateGui\Gui\Gui.cs:line 221
   at TestBed.LayoutTest.Draw() in c:\Users\Ivan\Documents\Visual Studio 2013\Projects\RuminateSource\Examples\GuiExample\Screens\LayoutTest.cs:line 138
   at TestBed.Game1.Draw(GameTime gameTime) in c:\Users\Ivan\Documents\Visual Studio 2013\Projects\RuminateSource\Examples\GuiExample\Game1.cs:line 96
   at Microsoft.Xna.Framework.Game.DrawFrame()
   at Microsoft.Xna.Framework.Game.Paint(Object sender, EventArgs e)
   at Microsoft.Xna.Framework.GameWindow.OnPaint()
   at Microsoft.Xna.Framework.WindowsGameWindow.mainForm_Paint(Object sender, PaintEventArgs e)
InnerException:
Closed Jul 14, 2014 at 6:34 AM by ClassicThunder
Too many code changes since issue reported.

comments