aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/GraphicObjects/TabView.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-12 03:37:29 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-08-12 03:37:29 +0200
commit80ceca9f199f37928f8c3068d07732b77d45156f (patch)
tree23cc31124f141dfc7919581d8cfab381a4ebc977 /src/GraphicObjects/TabView.cs
parent2b62c4b6eefdeaf3ddb4247b6241e87ee2345a6a (diff)
* Crow.csproj, Default.style, button.svg, buttest.svg, buttest2.svg, buttest4.svg, 0.crow:
test and divers * DirectoryView.cs: SelectedItem property * GraphicObject.cs: Style class, EventInfo in styles * Group.cs: lock children * Popper.cs: alignment = top left, simple unpop on mouse leave, no additional tests * Spinner.cs: ctor order * TabView.cs: code clean * Window.cs: movable * Style.cs, Interface.cs: Style class * StyleReader.cs: parser exception, debug expression parsing * Button.crow, Popper.goml, TabItem.crow, CheckBox.goml, Expandable.goml, MessageBox.goml, RadioButton.goml, ScrollingListBox.goml: templating * TreeView.crow: scrollbar * 1.crow: showcase * test.style, Tests.csproj, CheckBox2.imlt: tests
Diffstat (limited to 'src/GraphicObjects/TabView.cs')
-rw-r--r--src/GraphicObjects/TabView.cs13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/GraphicObjects/TabView.cs b/src/GraphicObjects/TabView.cs
index 015f5f4f..e140191b 100644
--- a/src/GraphicObjects/TabView.cs
+++ b/src/GraphicObjects/TabView.cs
@@ -39,6 +39,7 @@ namespace Crow
{
}
+ #region public properties
[XmlAttributeAttribute()][DefaultValue(Orientation.Horizontal)]
public virtual Orientation Orientation
{
@@ -54,7 +55,7 @@ namespace Crow
NotifyValueChanged ("TabOrientation", Orientation.Horizontal);
}
}
- [XmlAttributeAttribute()][DefaultValue(2)]
+ [XmlAttributeAttribute()][DefaultValue(20)]
public int Spacing
{
get { return _spacing; }
@@ -81,7 +82,7 @@ namespace Crow
RegisterForRedraw ();
}
}
- [XmlAttributeAttribute()][DefaultValue(22)]
+ [XmlAttributeAttribute()][DefaultValue("15")]
public virtual Measure TabThickness {
get { return tabThickness; }
set {
@@ -92,13 +93,7 @@ namespace Crow
RegisterForGraphicUpdate ();
}
}
-
- //prevent caching, because drawing order is different depending on selected tab
- [XmlAttributeAttribute()][DefaultValue(false)]
- public override bool CacheEnabled {
- get {return false;}
- set { }
- }
+ #endregion
public override void AddChild (GraphicObject child)
{