diff --git a/src/Main/Base/Project/Src/Gui/Pads/TaskList/TaskViewResources.xaml.cs b/src/Main/Base/Project/Src/Gui/Pads/TaskList/TaskViewResources.xaml.cs index 40a948bd6d..55a4d9dc27 100644 --- a/src/Main/Base/Project/Src/Gui/Pads/TaskList/TaskViewResources.xaml.cs +++ b/src/Main/Base/Project/Src/Gui/Pads/TaskList/TaskViewResources.xaml.cs @@ -27,7 +27,13 @@ namespace ICSharpCode.SharpDevelop.Gui var args = new object[] { 0, 0, 0, 0, 0 }; GetLineDetails.Invoke(target, args); if ((int)args[4] > 0) { - target.ToolTip = new ToolTip { Content = new TextBlock { Text = target.Text, TextWrapping = TextWrapping.Wrap }, PlacementTarget = target, Placement = PlacementMode.Relative }; + target.ToolTip = new ToolTip { + Content = new TextBlock { Text = target.Text, TextWrapping = TextWrapping.Wrap }, + PlacementTarget = target, + Placement = PlacementMode.Relative, + VerticalOffset = -2, + HorizontalOffset = -6 + }; } else { target.ToolTip = null; } diff --git a/src/Main/ICSharpCode.Core.Presentation/GridViewColumnAutoSize.cs b/src/Main/ICSharpCode.Core.Presentation/GridViewColumnAutoSize.cs index 543d548e6b..4898eb83eb 100644 --- a/src/Main/ICSharpCode.Core.Presentation/GridViewColumnAutoSize.cs +++ b/src/Main/ICSharpCode.Core.Presentation/GridViewColumnAutoSize.cs @@ -9,6 +9,14 @@ using System.Windows.Controls; namespace ICSharpCode.Core.Presentation { + /// + /// This class adds the AutoWidth property to the WPF ListView. + /// It supports a semi-colon-separated list of values, for each defined cell. + /// Each value can either be a fixed size double, or a percentage. + /// The sizes of columns with a percentage will be calculated from the + /// remaining width (after assigning the fixed sizes). + /// Examples: 50%;25%;25% or 30;100%;50 + /// public class GridViewColumnAutoSize { public static readonly DependencyProperty AutoWidthProperty =