<?xml version="1.0"?>
-<Border Background="{./Background}" Name="Content" Width="Stretched" Height="Stretched"
+<Border Background="{./Background}" Name="Content"
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}"
<?xml version="1.0"?>
-<Container Background="{./Background}" >
+<Container Background="{./Background}">
<Group CacheEnabled="true">
<VerticalStack Spacing="0">
<Widget Height="6"/>
-// Copyright (c) 2013-2019 Bruyère Jean-Philippe <jp_bruyere@hotmail.com>
+// Copyright (c) 2013-2021 Bruyère Jean-Philippe <jp_bruyere@hotmail.com>
//
// This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
break;
case LayoutingType.Height:
if (child.Height.IsRelativeToParent)
- contentSize.Height = child.measureRawSize (LayoutingType.Width);
+ contentSize.Height = child.measureRawSize (LayoutingType.Height);
break;
}
}
case LayoutingType.Height:
if (Height == Measure.Fit && child.Height.IsRelativeToParent)
//child.Height = Measure.Fit;
- contentSize.Height = child.measureRawSize (LayoutingType.Width);
+ contentSize.Height = child.measureRawSize (LayoutingType.Height);
break;
}
}