diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-09-06 17:55:41 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-09-06 17:55:41 +0200 |
| commit | 39a9fa35ff36f8bcb3a88679e3658596d2e79b1c (patch) | |
| tree | 2266ea2ff2e0125c46e10b41613f624a1e2f20ac /Tests | |
| parent | 004ab2dee65d4b18e20d8999ff644dd197aa1cd8 (diff) | |
rebase master
Diffstat (limited to 'Tests')
| -rw-r--r-- | Tests/BasicTests.cs | 8 | ||||
| -rwxr-xr-x | Tests/Interfaces/TemplatedContainer/testTreeView.crow | 2 | ||||
| -rwxr-xr-x | Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow | 2 |
3 files changed, 8 insertions, 4 deletions
diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs index 62ddc567..cd9e3ba3 100644 --- a/Tests/BasicTests.cs +++ b/Tests/BasicTests.cs @@ -145,8 +145,12 @@ namespace Tests idx = testFiles.Length - 1; this.Title = testFiles [idx] + ". Press <F3> to cycle examples."; - GraphicObject obj = CrowInterface.LoadInterface(testFiles[idx]); - obj.DataSource = this; + try { + GraphicObject obj = CrowInterface.LoadInterface(testFiles[idx]); + obj.DataSource = this; + } catch (Exception ex) { + Debug.WriteLine (ex.Message + ex.InnerException); + } } void Tv_SelectedItemChanged (object sender, SelectionChangeEventArgs e) { diff --git a/Tests/Interfaces/TemplatedContainer/testTreeView.crow b/Tests/Interfaces/TemplatedContainer/testTreeView.crow index 3a44bf34..e8e71645 100755 --- a/Tests/Interfaces/TemplatedContainer/testTreeView.crow +++ b/Tests/Interfaces/TemplatedContainer/testTreeView.crow @@ -32,7 +32,7 @@ <GraphicObject Width="12" Height="10"/> <TreeView Name="List" Height="Fit" Width="{./WidthPolicy}"> <Template> - <VerticalStack Height="Fit" Width="{../WidthPolicy}" Name="List"/> + <VerticalStack Height="Fit" Width="{../WidthPolicy}" Name="ItemsContainer"/> </Template> </TreeView> </HorizontalStack> diff --git a/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow b/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow index 5f860719..94625915 100755 --- a/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow +++ b/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow @@ -10,7 +10,7 @@ Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Value}" ValueChanged="../../../_scroller_ValueChanged"> <VerticalStack Width="{../../../../WidthPolicy}" Height="Fit" MinimumSize="10,10" - Name="List" Margin="0" + Name="ItemsContainer" Margin="0" VerticalAlignment="Top" HorizontalAlignment="Left" LayoutChanged="../../../../_list_LayoutChanged"/> |