From dca4d91d401ba718eccb83d6be42a12f55919838 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Sat, 30 Jul 2016 10:00:02 +0200 Subject: remove style attributes, add ';' to style files line ending, new style parser --- src/GraphicObjects/TextRun.cs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/GraphicObjects/TextRun.cs') diff --git a/src/GraphicObjects/TextRun.cs b/src/GraphicObjects/TextRun.cs index 103f2fcf..c644767c 100644 --- a/src/GraphicObjects/TextRun.cs +++ b/src/GraphicObjects/TextRun.cs @@ -10,8 +10,6 @@ using System.ComponentModel; namespace Crow { - [Serializable] - [DefaultStyle("#Crow.Styles.TextRun.style")] public class TextRun : GraphicObject { #region CTOR -- cgit v1.3.1-4-g156e From be8a4c2923ee9a62646590576cdf2fcdbf0d39a3 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Sat, 30 Jul 2016 15:32:52 +0200 Subject: basic styling ok, need handler and expression now. --- Styles/Label.style | 1 + Templates/Button.crow | 2 +- Templates/ComboBox.goml | 6 +- Templates/GroupBox.goml | 4 +- Templates/ListBox.goml | 4 +- Templates/ScrollingListBox.goml | 4 +- Templates/Spinner.goml | 4 +- Templates/TreeView.crow | 2 +- Templates/Window.goml | 2 +- Templates/imgItemTemplate.goml | 2 +- Tests/BasicTests.cs | 4 +- Tests/Interfaces/Container/0.crow | 4 +- Tests/Interfaces/Container/1.crow | 4 +- Tests/Interfaces/Container/2.crow | 4 +- Tests/Interfaces/Divers/5.crow | 4 +- Tests/Interfaces/Divers/fps.crow | 10 +- Tests/Interfaces/Divers/testGrid.crow | 8 +- Tests/Interfaces/Divers/testStacks.crow | 4 +- Tests/Interfaces/Divers/testWindow.goml | 2 +- Tests/Interfaces/Divers/testWindow2.goml | 2 +- Tests/Interfaces/Divers/testWindow3.goml | 2 +- Tests/Interfaces/Divers/test_Listbox.crow | 2 +- Tests/Interfaces/GraphicObject/0.crow | 4 +- Tests/Interfaces/GraphicObject/1.crow | 4 +- Tests/Interfaces/GraphicObject/2.crow | 4 +- Tests/Interfaces/Group/0.crow | 10 +- Tests/Interfaces/Group/1.crow | 20 +-- Tests/Interfaces/Group/2.crow | 20 +-- Tests/Interfaces/Group/3.crow | 20 +-- Tests/Interfaces/Group/4.crow | 4 +- .../Interfaces/Nouveau dossier/testColorList.crow | 2 +- .../Interfaces/Nouveau dossier/testDirViewer.crow | 2 +- Tests/Interfaces/Stack/0.crow | 10 +- Tests/Interfaces/Stack/0h.crow | 10 +- Tests/Interfaces/Stack/1.crow | 8 +- Tests/Interfaces/Stack/1h.crow | 8 +- Tests/Interfaces/Stack/2.crow | 8 +- Tests/Interfaces/Stack/2h.crow | 8 +- Tests/Interfaces/Stack/3.crow | 42 +++--- Tests/Interfaces/Stack/3h.crow | 42 +++--- Tests/Interfaces/basicTests/0.crow | 4 +- src/Colors.cs | 2 +- src/GraphicObjects/GraphicObject.cs | 36 ++++- src/GraphicObjects/Label.cs | 16 +-- src/GraphicObjects/TextRun.cs | 149 ++++++++++----------- 45 files changed, 264 insertions(+), 250 deletions(-) (limited to 'src/GraphicObjects/TextRun.cs') diff --git a/Styles/Label.style b/Styles/Label.style index 8a165c2a..1f000247 100644 --- a/Styles/Label.style +++ b/Styles/Label.style @@ -1 +1,2 @@ Fit = true; +Margin = 2; diff --git a/Templates/Button.crow b/Templates/Button.crow index a9e45dc3..8919f7dc 100755 --- a/Templates/Button.crow +++ b/Templates/Button.crow @@ -1,5 +1,5 @@ - +