From: Jean-Philippe Bruyère Date: Sun, 18 Feb 2018 09:53:30 +0000 (+0100) Subject: mouse event revamping, fit measure unit change from Pixels to Percent X-Git-Tag: 0.7.0~10 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=53a4e6465e9eed77075be378f520ddc84c79c7fa;p=jp%2Fcrow.git mouse event revamping, fit measure unit change from Pixels to Percent --- diff --git a/Crow.csproj b/Crow.csproj index d05f2ae6..b340d9e4 100644 --- a/Crow.csproj +++ b/Crow.csproj @@ -30,7 +30,7 @@ true full true - DEBUG_UPDATE0;DEBUG_FOCUS;DEBUG_DISPOSE;DEBUG_LAYOUTING0;TRACE0;DEBUG;MEASURE_TIME;DEBUG_LOAD0;DEBUG_BINDING0;DEBUG_CLIP_RECTANGLE0 + DEBUG_UPDATE0;DEBUG_FOCUS0;DEBUG_DISPOSE0;DEBUG_LAYOUTING0;TRACE0;DEBUG;MEASURE_TIME;DEBUG_LOAD0;DEBUG_BINDING0;DEBUG_CLIP_RECTANGLE0 false $(SolutionDir)build\Debug diff --git a/Templates/Expandable.template b/Templates/Expandable.template index c5dd1d83..a36958d5 100755 --- a/Templates/Expandable.template +++ b/Templates/Expandable.template @@ -2,7 +2,7 @@ - - - + - + \ No newline at end of file diff --git a/Templates/Spinner.template b/Templates/Spinner.template index dd957d25..60d7ccf9 100755 --- a/Templates/Spinner.template +++ b/Templates/Spinner.template @@ -6,7 +6,7 @@ Text="{²./Value}" TextAlignment="Right" Margin="0"/> - - + + diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs index 9327a112..3bfd16e8 100644 --- a/Tests/BasicTests.cs +++ b/Tests/BasicTests.cs @@ -99,10 +99,10 @@ namespace Tests } get { return List2; } } - IList testList = Color.ColorDic.Values.OrderBy(c=>c.Hue) - .ThenBy(c=>c.Value).ThenBy(c=>c.Saturation) + List testList = Color.ColorDic.Values//.OrderBy(c=>c.Hue) + //.ThenBy(c=>c.Value).ThenBy(c=>c.Saturation) .ToList(); - public IList TestList { + public List TestList { set{ testList = value; NotifyValueChanged ("TestList", testList); diff --git a/Tests/Interfaces/Divers/0.crow b/Tests/Interfaces/Divers/0.crow index 42900792..055b037e 100755 --- a/Tests/Interfaces/Divers/0.crow +++ b/Tests/Interfaces/Divers/0.crow @@ -58,11 +58,15 @@ MouseEnter="{Foreground=White}" MouseLeave="{Foreground=DimGray}" MouseDown="{Background=DarkRed}" + MouseClick="{Foreground=Green}" + MouseDoubleClick="{Foreground=Yellow}" MouseUp="{Background=Onyx}"/>