From 01ec9f5a3fa94df22844e22f47cd4853959fe99e Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Mon, 14 Sep 2015 17:55:46 +0200 Subject: [PATCH] * Tests.csproj: * GOLIBTests.cs: * Popper.goml: * Checkbox.goml: * Expandable.goml: * RadioButton.goml: * test7.goml: * Popper.cs: * test4.1.goml: * test1.3.goml: * Checkbox.cs: * Expandable.cs: * RadioButton.cs: * testCheckbox.goml: * testRadioButton.goml: improve templates, set SvgSub as PropertyLess binding updated with only * radiobutton.svg: simplify svg --- Images/Icons/radiobutton.svg | 77 ++++------------- Templates/Checkbox.goml | 6 +- Templates/Expandable.goml | 4 +- Templates/Popper.goml | 2 +- Templates/RadioButton.goml | 6 +- Tests/GOLIBTests.cs | 24 +++--- Tests/Interfaces/test1.3.goml | 14 --- Tests/Interfaces/test4.1.goml | 12 +-- .../Interfaces/{Checkbox.goml => test7.goml} | 8 +- Tests/Interfaces/testCheckbox.goml | 3 + Tests/Interfaces/testRadioButton.goml | 8 ++ Tests/Tests.csproj | 14 ++- src/GraphicObjects/Checkbox.cs | 85 ++++++++++--------- src/GraphicObjects/Expandable.cs | 21 ++--- src/GraphicObjects/Popper.cs | 28 +++--- src/GraphicObjects/RadioButton.cs | 75 ++++++++-------- 16 files changed, 175 insertions(+), 212 deletions(-) delete mode 100755 Tests/Interfaces/test1.3.goml rename Tests/Interfaces/{Checkbox.goml => test7.goml} (68%) create mode 100755 Tests/Interfaces/testCheckbox.goml create mode 100755 Tests/Interfaces/testRadioButton.goml diff --git a/Images/Icons/radiobutton.svg b/Images/Icons/radiobutton.svg index d0f81c5d..226d097b 100644 --- a/Images/Icons/radiobutton.svg +++ b/Images/Icons/radiobutton.svg @@ -1,77 +1,30 @@ - - - - - - - - image/svg+xml - - - - - + viewBox="0 0 64 64" + height="64" + width="64"> + cx="32" + cy="32" + r="30" /> + cx="32" + cy="32" + r="22" /> + style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:2.99999952;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:0;stroke-dasharray:none;stroke-opacity:1" /> diff --git a/Templates/Checkbox.goml b/Templates/Checkbox.goml index b37b15f1..10ec033f 100755 --- a/Templates/Checkbox.goml +++ b/Templates/Checkbox.goml @@ -1,5 +1,5 @@  - - -