Orientation = "Vertical";
}
Button {
- Caption = "Button";
- MinimumSize = "50,20";
- Width = "Fit";
+ Caption = "Button";
+ MinimumSize = "50,22";
+ Height = "22";
+ Width = "Fit";
}
Label {
Height = "Fit";
<?xml version="1.0"?>
-<Border Background="{./Background}" Name="Content"
+<Border Background="{./Background}" Name="Content" Width="Stretched" Height="Stretched"
Foreground="Transparent" CornerRadius="{../CornerRadius}" BorderWidth="1"
MouseEnter="{Foreground=vgradient|0:White|0.2:Grey|0.9:Grey|1:Black};{caption.Foreground=White}"
MouseLeave="{Foreground=Transparent};{caption.Foreground=LightGrey}"
<CheckBox Style="CheckBoxAlt" Name="cbShowFiles" Caption="Show Files" IsChecked="{²./ShowFiles}"/>
<CheckBox Style="CheckBoxAlt" Name="cbShowHidden" Caption="Show Hidden" IsChecked="{²./ShowHidden}"/>
</HorizontalStack>
- <HorizontalStack Fit="true" HorizontalAlignment="Right">
+ <HorizontalStack Fit="true" HorizontalAlignment="Right" Margin="3" Spacing="3">
<Button Caption="Ok" MouseClick="./onFileSelect"/>
<Button Caption="Cancel" MouseClick="./onCancel"/>
</HorizontalStack>
namespace Crow
{
- //treeview expect expandable child (or not)
- //if their are expandable, some functions and events are added
+ /// <summary>
+ /// Treeview expect expandable child (or not)
+ /// if their are expandable, some functions and events are added
+ /// </summary>
public class TreeView : TemplatedGroup
{
bool isRoot;
public TreeView (Interface iface, string style = null) : base (iface, style) { }
#endregion
+ //TODO: check if not obsolete (IsRoot)
[DefaultValue(false)]
public virtual bool IsRoot {
get { return isRoot; }
-// Copyright (c) 2013-2020 Jean-Philippe Bruyère <jp_bruyere@hotmail.com>
+// Copyright (c) 2013-2021 Jean-Philippe Bruyère <jp_bruyere@hotmail.com>
//
// This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
using System;
return NativeLibrary.Load("glfw", assembly, null);
case "rsvg-2.40":
return NativeLibrary.Load("rsvg-2", assembly, null);
- }
+ }
Console.WriteLine ($"[UNRESOLVE] {assembly} {libraryName}");
return IntPtr.Zero;
}
static SampleBase () {
System.Runtime.Loader.AssemblyLoadContext.Default.ResolvingUnmanagedDll+=resolveUnmanaged;
}
-#endif
+#endif
public Version CrowVersion => Assembly.GetAssembly (typeof (Widget)).GetName ().Version;
#region Test values for Binding