Browse Source

Finally found a walkaround for LocalVarPad visual issue

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@190 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 20 years ago
parent
commit
88f8fe0b8c
  1. 9
      src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/LocalVarPad.cs

9
src/AddIns/Misc/Debugger/Debugger.AddIn/Project/Src/Pads/LocalVarPad.cs

@ -64,7 +64,8 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
name.Width = 250; name.Width = 250;
val.Width = 300; val.Width = 300;
type.Width = 250; type.Width = 250;
localVarList.Visible = false;
localVarList.SizeChanged += new EventHandler(localVarList_SizeChanged);
localVarList.BeforeExpand += new TreeListViewCancelEventHandler(localVarList_BeforeExpand); localVarList.BeforeExpand += new TreeListViewCancelEventHandler(localVarList_BeforeExpand);
debuggerCore.DebuggingPaused += new DebuggingPausedEventHandler(debuggerService_OnDebuggingPaused); debuggerCore.DebuggingPaused += new DebuggingPausedEventHandler(debuggerService_OnDebuggingPaused);
@ -72,6 +73,12 @@ namespace ICSharpCode.SharpDevelop.Gui.Pads
RedrawContent(); RedrawContent();
} }
// This is a walkarond for a visual issue
void localVarList_SizeChanged(object sender, EventArgs e)
{
localVarList.Visible = true;
}
public override void RedrawContent() public override void RedrawContent()
{ {
name.Text = "Name"; name.Text = "Name";

Loading…
Cancel
Save