From c5bff6985cc728124e2719357ce36ab01d6b75c0 Mon Sep 17 00:00:00 2001 From: Eusebiu Marcu Date: Tue, 30 Nov 2010 17:38:34 +0200 Subject: [PATCH] fix some UI issues --- .../Pads/ParallelPad/DrawSurface.xaml.cs | 4 +- .../Pads/ParallelPad/ThreadStack.xaml | 43 +++++++++++-------- .../Pads/ParallelPad/ThreadStack.xaml.cs | 3 -- 3 files changed, 28 insertions(+), 22 deletions(-) diff --git a/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/DrawSurface.xaml.cs b/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/DrawSurface.xaml.cs index 9fb8ca8a6c..03a07653fe 100644 --- a/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/DrawSurface.xaml.cs +++ b/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/DrawSurface.xaml.cs @@ -36,8 +36,10 @@ namespace Debugger.AddIn.Pads.ParallelPad if (graph == null) this.ParallelStacksLayout.CancelLayout(); - else + else { this.ParallelStacksLayout.Relayout(); + this.ParallelStacksLayout.Relayout(); + } } public bool IsZoomControlVisible { diff --git a/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/ThreadStack.xaml b/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/ThreadStack.xaml index 1615faed87..c95bcac522 100644 --- a/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/ThreadStack.xaml +++ b/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/ThreadStack.xaml @@ -4,6 +4,13 @@ Width="Auto" Height="Auto" Background="Transparent"> + + + + + + + - - - + + + Source="{Binding Image}" /> - + @@ -107,12 +114,12 @@ diff --git a/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/ThreadStack.xaml.cs b/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/ThreadStack.xaml.cs index 7c2bf3e6fb..03e417e3cb 100644 --- a/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/ThreadStack.xaml.cs +++ b/src/AddIns/Debugger/Debugger.AddIn/Pads/ParallelPad/ThreadStack.xaml.cs @@ -151,9 +151,6 @@ namespace Debugger.AddIn.Pads.ParallelPad if (row != null) { datagrid.SelectedItem = row.DataContext; - if (toolTip.IsOpen) - toolTip.IsOpen = false; - toolTip.IsOpen = true; e.Handled = true; } }