|
@@ -266,8 +266,8 @@ public class TextAlignmentsAndDirections : Scenario
|
|
|
{
|
|
|
X = 1 /* */,
|
|
|
Y = 1,
|
|
|
- Width = Dim.Percent (100f / 3f),
|
|
|
- Height = Dim.Percent (100f / 3f),
|
|
|
+ Width = Dim.Percent (100 / 3),
|
|
|
+ Height = Dim.Percent (100 / 3),
|
|
|
TextAlignment = TextAlignment.Left,
|
|
|
VerticalTextAlignment = VerticalTextAlignment.Top,
|
|
|
ColorScheme = color1,
|
|
@@ -279,8 +279,8 @@ public class TextAlignmentsAndDirections : Scenario
|
|
|
{
|
|
|
X = Pos.Right (txtLabelTL) + 2,
|
|
|
Y = 1,
|
|
|
- Width = Dim.Percent (100f / 3f),
|
|
|
- Height = Dim.Percent (100f / 3f),
|
|
|
+ Width = Dim.Percent (33),
|
|
|
+ Height = Dim.Percent (33),
|
|
|
TextAlignment = TextAlignment.Centered,
|
|
|
VerticalTextAlignment = VerticalTextAlignment.Top,
|
|
|
ColorScheme = color1,
|
|
@@ -292,8 +292,8 @@ public class TextAlignmentsAndDirections : Scenario
|
|
|
{
|
|
|
X = Pos.Right (txtLabelTC) + 2,
|
|
|
Y = 1,
|
|
|
- Width = Dim.Percent (100f, true),
|
|
|
- Height = Dim.Percent (100f / 3f),
|
|
|
+ Width = Dim.Percent (100, true),
|
|
|
+ Height = Dim.Percent (33),
|
|
|
TextAlignment = TextAlignment.Right,
|
|
|
VerticalTextAlignment = VerticalTextAlignment.Top,
|
|
|
ColorScheme = color1,
|
|
@@ -306,7 +306,7 @@ public class TextAlignmentsAndDirections : Scenario
|
|
|
X = Pos.X (txtLabelTL),
|
|
|
Y = Pos.Bottom (txtLabelTL) + 1,
|
|
|
Width = Dim.Width (txtLabelTL),
|
|
|
- Height = Dim.Percent (100f / 3f),
|
|
|
+ Height = Dim.Percent (33),
|
|
|
TextAlignment = TextAlignment.Left,
|
|
|
VerticalTextAlignment = VerticalTextAlignment.Middle,
|
|
|
ColorScheme = color1,
|
|
@@ -319,7 +319,7 @@ public class TextAlignmentsAndDirections : Scenario
|
|
|
X = Pos.X (txtLabelTC),
|
|
|
Y = Pos.Bottom (txtLabelTC) + 1,
|
|
|
Width = Dim.Width (txtLabelTC),
|
|
|
- Height = Dim.Percent (100f / 3f),
|
|
|
+ Height = Dim.Percent (33),
|
|
|
TextAlignment = TextAlignment.Centered,
|
|
|
VerticalTextAlignment = VerticalTextAlignment.Middle,
|
|
|
ColorScheme = color1,
|
|
@@ -331,8 +331,8 @@ public class TextAlignmentsAndDirections : Scenario
|
|
|
{
|
|
|
X = Pos.X (txtLabelTR),
|
|
|
Y = Pos.Bottom (txtLabelTR) + 1,
|
|
|
- Width = Dim.Percent (100f, true),
|
|
|
- Height = Dim.Percent (100f / 3f),
|
|
|
+ Width = Dim.Percent (100, true),
|
|
|
+ Height = Dim.Percent (33),
|
|
|
TextAlignment = TextAlignment.Right,
|
|
|
VerticalTextAlignment = VerticalTextAlignment.Middle,
|
|
|
ColorScheme = color1,
|
|
@@ -345,7 +345,7 @@ public class TextAlignmentsAndDirections : Scenario
|
|
|
X = Pos.X (txtLabelML),
|
|
|
Y = Pos.Bottom (txtLabelML) + 1,
|
|
|
Width = Dim.Width (txtLabelML),
|
|
|
- Height = Dim.Percent (100f, true),
|
|
|
+ Height = Dim.Percent (100, true),
|
|
|
TextAlignment = TextAlignment.Left,
|
|
|
VerticalTextAlignment = VerticalTextAlignment.Bottom,
|
|
|
ColorScheme = color1,
|
|
@@ -358,7 +358,7 @@ public class TextAlignmentsAndDirections : Scenario
|
|
|
X = Pos.X (txtLabelMC),
|
|
|
Y = Pos.Bottom (txtLabelMC) + 1,
|
|
|
Width = Dim.Width (txtLabelMC),
|
|
|
- Height = Dim.Percent (100f, true),
|
|
|
+ Height = Dim.Percent (100, true),
|
|
|
TextAlignment = TextAlignment.Centered,
|
|
|
VerticalTextAlignment = VerticalTextAlignment.Bottom,
|
|
|
ColorScheme = color1,
|
|
@@ -370,8 +370,8 @@ public class TextAlignmentsAndDirections : Scenario
|
|
|
{
|
|
|
X = Pos.X (txtLabelMR),
|
|
|
Y = Pos.Bottom (txtLabelMR) + 1,
|
|
|
- Width = Dim.Percent (100f, true),
|
|
|
- Height = Dim.Percent (100f, true),
|
|
|
+ Width = Dim.Percent (100, true),
|
|
|
+ Height = Dim.Percent (100, true),
|
|
|
TextAlignment = TextAlignment.Right,
|
|
|
VerticalTextAlignment = VerticalTextAlignment.Bottom,
|
|
|
ColorScheme = color1,
|