Skip to content

Commit db6cfc4

Browse files
committed
More fixes
1 parent 3fec276 commit db6cfc4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<PackageProjectUrl>https://github.com/rds1983/Myra</PackageProjectUrl>
77
<RootNamespace>Myra</RootNamespace>
88
<Description>UI Library for MonoGame, FNA and Stride</Description>
9-
<VersionPrefix>1.5.6</VersionPrefix>
9+
<VersionPrefix>1.5.7</VersionPrefix>
1010
<XNAssetsVersion>0.7.3</XNAssetsVersion>
1111
<FontStashSharpVersion>1.3.9</FontStashSharpVersion>
1212
<LangVersion>8.0</LangVersion>

src/Myra/Graphics2D/UI/Selectors/TabControl.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,12 @@ public TabSelectorPosition TabSelectorPosition
7474
}
7575

7676
[Category("Behavior")]
77+
[DefaultValue(false)]
7778
public bool CloseableTabs { get; set; }
7879

80+
[DefaultValue(true)]
81+
public override bool ClipToBounds { get => base.ClipToBounds; set => base.ClipToBounds = value; }
82+
7983
public TabControl(string styleName = Stylesheet.DefaultStyleName) : base(new Grid())
8084
{
8185
HorizontalAlignment = HorizontalAlignment.Left;

0 commit comments

Comments
 (0)