From a8a5562df0358b314197f3685fc7622ecfd307d0 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Wed, 17 Feb 2016 00:53:59 +0100 Subject: [PATCH] splitted measure with fault checking, changing default template sizing to 0, lots of bugs. --- Crow.csproj | 2 + Templates/ArrowButTemplate.crow | 2 +- Templates/Button.crow | 2 +- Templates/CheckBox.goml | 6 +-- Templates/ComboBox.goml | 8 ++-- Templates/Dummy.goml | 8 ++++ Templates/Expandable.goml | 10 ++--- Templates/GroupBox.goml | 6 +-- Templates/ListBox.goml | 6 +-- Templates/MessageBox.goml | 16 +++---- Templates/Popper.goml | 6 +-- Templates/RadioButton.goml | 4 +- Templates/ScrollBar.goml | 6 +-- Templates/ScrollingListBox.goml | 10 ++--- Templates/Spinner.goml | 8 ++-- Templates/TreeItem.crow | 18 ++++---- Templates/TreeView.crow | 2 +- Templates/Window.goml | 12 ++--- Tests/GOLIBTests.cs | 10 ++++- Tests/Interfaces/TmpExpandable.goml | 14 +++--- Tests/Interfaces/testAll.goml | 6 +-- Tests/Interfaces/testCheckbox.goml | 35 ++++++++++++++- Tests/Interfaces/testColorList.crow | 10 ++--- Tests/Interfaces/testDirViewer.goml | 10 ++--- Tests/Interfaces/testExpandable.goml | 2 +- Tests/Interfaces/testRadioButton2.goml | 4 +- Tests/Interfaces/testTabView.crow | 62 ++++++++++++++------------ Tests/Interfaces/testWindow2.goml | 12 ++--- Tests/Interfaces/testWindow3.goml | 2 +- Tests/Interfaces/test_Listbox.goml | 10 ++--- src/GraphicObjects/Border.cs | 5 ++- src/GraphicObjects/DummyTemplate.cs | 33 ++++++++++++++ src/GraphicObjects/GenericStack.cs | 57 +++++++++++++---------- src/GraphicObjects/GraphicObject.cs | 32 ++++++++----- src/GraphicObjects/Group.cs | 29 +++++++++--- src/GraphicObjects/Image.cs | 9 ++-- src/GraphicObjects/Label.cs | 31 +++++++------ src/GraphicObjects/PrivateContainer.cs | 13 ++++-- src/GraphicObjects/TemplatedControl.cs | 61 ++++++++++++++----------- src/GraphicObjects/TextRun.cs | 39 ++++++++-------- 40 files changed, 383 insertions(+), 235 deletions(-) create mode 100755 Templates/Dummy.goml create mode 100644 src/GraphicObjects/DummyTemplate.cs diff --git a/Crow.csproj b/Crow.csproj index 6d0c6d3a..05f0841d 100644 --- a/Crow.csproj +++ b/Crow.csproj @@ -137,6 +137,7 @@ + @@ -229,6 +230,7 @@ + diff --git a/Templates/ArrowButTemplate.crow b/Templates/ArrowButTemplate.crow index c90f1b60..942c9f75 100755 --- a/Templates/ArrowButTemplate.crow +++ b/Templates/ArrowButTemplate.crow @@ -5,7 +5,7 @@ --> - - - -