aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/BasicTests
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/BasicTests')
-rw-r--r--Samples/BasicTests/BasicTests.cs15
-rw-r--r--Samples/BasicTests/BasicTests.csproj14
2 files changed, 26 insertions, 3 deletions
diff --git a/Samples/BasicTests/BasicTests.cs b/Samples/BasicTests/BasicTests.cs
index 8d76b31e..90917302 100644
--- a/Samples/BasicTests/BasicTests.cs
+++ b/Samples/BasicTests/BasicTests.cs
@@ -32,8 +32,9 @@ namespace tests
//testFiles = new string [] { @"Interfaces/Experimental/testDock.crow" };
//testFiles = new string [] { @"Interfaces/Divers/welcome.crow" };
//testFiles = new string [] { @"Interfaces/TemplatedGroup/3.crow" };
- //testFiles = new string [] { @"Interfaces/Divers/perfMeasures.crow" };
- testFiles = new string [] { @"Interfaces/Divers/colorPicker2.crow" };
+ //testFiles = new string [] { @"Interfaces/Divers/testShape.crow" };
+ testFiles = new string [] { @"Interfaces/TemplatedControl/testEnumSelector.crow" };
+ //testFiles = new string [] { @"Interfaces/Divers/colorPicker2.crow" };
testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/GraphicObject", "*.crow")).ToArray ();
testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Container", "*.crow")).ToArray ();
testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Group", "*.crow")).ToArray ();
@@ -126,6 +127,16 @@ namespace tests
NotifyValueChanged ("IntValue", intValue);
}
}
+ VerticalAlignment currentVAlign;
+ public VerticalAlignment CurrentVAlign {
+ get => currentVAlign;
+ set {
+ if (currentVAlign == value)
+ return;
+ currentVAlign = value;
+ NotifyValueChanged ("CurrentVAlign", currentVAlign);
+ }
+ }
void onSpinnerValueChange (object sender, ValueChangeEventArgs e)
{
if (e.MemberName != "Value")
diff --git a/Samples/BasicTests/BasicTests.csproj b/Samples/BasicTests/BasicTests.csproj
index 813b9b66..71a7a829 100644
--- a/Samples/BasicTests/BasicTests.csproj
+++ b/Samples/BasicTests/BasicTests.csproj
@@ -15,6 +15,9 @@
<ProjectReference Include="..\..\Crow\Crow.csproj" />
</ItemGroup>
<ItemGroup>
+ <EmbeddedResource Remove="..\common\ui\templates\test.style" />
+ </ItemGroup>
+ <ItemGroup>
<Datas Include="..\data\**\*.*">
<Link>data\%(RecursiveDir)%(Filename)%(Extension)</Link>
</Datas>
@@ -29,5 +32,14 @@
<LogicalName>ui.%(Filename)%(Extension)</LogicalName>
<Link>Templates\%(Filename)%(Extension)</Link>
</EmbeddedResource>
- </ItemGroup>
+ <EmbeddedResource Include="..\common\samples.style" />
+ <EmbeddedResource Include="..\common\ui\images\**\*.*">
+ <LogicalName>images.%(Filename)%(Extension)</LogicalName>
+ <Link>Images\%(Filename)%(Extension)</Link>
+ </EmbeddedResource>
+ <EmbeddedResource Include="..\common\ui\Icons\*.*">
+ <LogicalName>Icons.%(Filename)%(Extension)</LogicalName>
+ <Link>Icons\%(Filename)%(Extension)</Link>
+ </EmbeddedResource>
+ </ItemGroup>
</Project> \ No newline at end of file