- change button and check sizes
- change icon size
- set space size between icon and text
- change text color
// Button base style
theme.AddStyleWithoutClone("Tizen.NUI.Components.Button", new ButtonStyle()
{
// Button base style
theme.AddStyleWithoutClone("Tizen.NUI.Components.Button", new ButtonStyle()
{
- Size = new Size(339, 96),
+ Size = new Size(252, 48),
+ ItemSpacing = new Size2D(8, 8),
CornerRadius = 12.0f,
ItemHorizontalAlignment = HorizontalAlignment.Center,
ItemVerticalAlignment = VerticalAlignment.Center,
CornerRadius = 12.0f,
ItemHorizontalAlignment = HorizontalAlignment.Center,
ItemVerticalAlignment = VerticalAlignment.Center,
Selected = new Color(0.624f, 0.239f, 0.0f, 1),
Disabled = new Color(0.792f, 0.792f, 0.792f, 1),
},
Selected = new Color(0.624f, 0.239f, 0.0f, 1),
Disabled = new Color(0.792f, 0.792f, 0.792f, 1),
},
+ Icon = new ImageViewStyle()
+ {
+ Size = new Size(32, 32),
+ },
Text = new TextLabelStyle()
{
Text = new TextLabelStyle()
{
- TextColor = Color.White,
+ TextColor = new Color("#FDFDFD"),
// CheckBox base style
theme.AddStyleWithoutClone("Tizen.NUI.Components.CheckBox", new ButtonStyle()
{
// CheckBox base style
theme.AddStyleWithoutClone("Tizen.NUI.Components.CheckBox", new ButtonStyle()
{
- ItemSpacing = new Size2D(32, 32),
- ItemHorizontalAlignment = HorizontalAlignment.Begin,
+ Size = new Size(48, 48),
+ ItemHorizontalAlignment = HorizontalAlignment.Center,
ItemVerticalAlignment = VerticalAlignment.Center,
Icon = new ImageViewStyle()
{
ItemVerticalAlignment = VerticalAlignment.Center,
Icon = new ImageViewStyle()
{
- Size = new Size(36, 36),
+ Size = new Size(32, 32),
ResourceUrl = new Selector<string>()
{
Normal = FrameworkInformation.ResourcePath + "IoT_check_off.png",
ResourceUrl = new Selector<string>()
{
Normal = FrameworkInformation.ResourcePath + "IoT_check_off.png",