Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rds1983 committed Sep 20, 2024
1 parent 3fec276 commit db6cfc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PackageProjectUrl>https://github.com/rds1983/Myra</PackageProjectUrl>
<RootNamespace>Myra</RootNamespace>
<Description>UI Library for MonoGame, FNA and Stride</Description>
<VersionPrefix>1.5.6</VersionPrefix>
<VersionPrefix>1.5.7</VersionPrefix>
<XNAssetsVersion>0.7.3</XNAssetsVersion>
<FontStashSharpVersion>1.3.9</FontStashSharpVersion>
<LangVersion>8.0</LangVersion>
Expand Down
4 changes: 4 additions & 0 deletions src/Myra/Graphics2D/UI/Selectors/TabControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,12 @@ public TabSelectorPosition TabSelectorPosition
}

[Category("Behavior")]
[DefaultValue(false)]
public bool CloseableTabs { get; set; }

[DefaultValue(true)]
public override bool ClipToBounds { get => base.ClipToBounds; set => base.ClipToBounds = value; }

public TabControl(string styleName = Stylesheet.DefaultStyleName) : base(new Grid())
{
HorizontalAlignment = HorizontalAlignment.Left;
Expand Down

0 comments on commit db6cfc4

Please sign in to comment.