theme.AddStyleWithoutClone("Tizen.NUI.Components.CheckBox", new ButtonStyle()
{
ItemSpacing = new Size2D(32, 32),
- ItemAlignment = LinearLayout.Alignment.Begin,
+ ItemAlignment = LinearLayout.Alignment.CenterVertical,
Icon = new ImageViewStyle()
{
Size = new Size(36, 36),
ResourceUrl = new Selector<string>()
{
- Normal = FrameworkInformation.ResourcePath + "IoT_check_off.svg",
- Pressed = FrameworkInformation.ResourcePath + "IoT_check_off_p.svg",
- Disabled = FrameworkInformation.ResourcePath + "IoT_check_off_d.svg",
- Focused = FrameworkInformation.ResourcePath + "IoT_check_off_f.svg",
- Selected = FrameworkInformation.ResourcePath + "IoT_check_on.svg",
- SelectedPressed = FrameworkInformation.ResourcePath + "IoT_check_on_p.svg",
- SelectedFocused = FrameworkInformation.ResourcePath + "IoT_check_on_f.svg",
- DisabledSelected = FrameworkInformation.ResourcePath + "IoT_check_on_d.svg",
+ Normal = FrameworkInformation.ResourcePath + "IoT_check_off.png",
+ Pressed = FrameworkInformation.ResourcePath + "IoT_check_off_p.png",
+ Disabled = FrameworkInformation.ResourcePath + "IoT_check_off_d.png",
+ Focused = FrameworkInformation.ResourcePath + "IoT_check_off_f.png",
+ Selected = FrameworkInformation.ResourcePath + "IoT_check_on.png",
+ SelectedPressed = FrameworkInformation.ResourcePath + "IoT_check_on_p.png",
+ SelectedFocused = FrameworkInformation.ResourcePath + "IoT_check_on_f.png",
+ DisabledSelected = FrameworkInformation.ResourcePath + "IoT_check_on_d.png",
},
},
Text = new TextLabelStyle()
theme.AddStyleWithoutClone("Tizen.NUI.Components.RadioButton", new ButtonStyle()
{
ItemSpacing = new Size2D(32, 32),
- ItemAlignment = LinearLayout.Alignment.Begin,
+ ItemAlignment = LinearLayout.Alignment.CenterVertical,
Icon = new ImageViewStyle()
{
Size = new Size(36, 36),
ResourceUrl = new Selector<string>()
{
- Normal = FrameworkInformation.ResourcePath + "IoT_radiobutton_off.svg",
- Pressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_p.svg",
- Disabled = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_d.svg",
- Focused = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_f.svg",
- Selected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on.svg",
- SelectedPressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_p.svg",
- SelectedFocused = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_f.svg",
- DisabledSelected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_d.svg",
+ Normal = FrameworkInformation.ResourcePath + "IoT_radiobutton_off.png",
+ Pressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_p.png",
+ Disabled = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_d.png",
+ Focused = FrameworkInformation.ResourcePath + "IoT_radiobutton_off_f.png",
+ Selected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on.png",
+ SelectedPressed = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_p.png",
+ SelectedFocused = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_f.png",
+ DisabledSelected = FrameworkInformation.ResourcePath + "IoT_radiobutton_on_d.png",
},
},
Text = new TextLabelStyle()
theme.AddStyleWithoutClone("Tizen.NUI.Components.Switch", new SwitchStyle()
{
ItemSpacing = new Size2D(32, 32),
- ItemAlignment = LinearLayout.Alignment.Begin,
+ ItemAlignment = LinearLayout.Alignment.CenterVertical,
Track = new ImageViewStyle()
{
Size = new Size(80, 40),
ResourceUrl = new Selector<string>()
{
- Normal = FrameworkInformation.ResourcePath + "IoT_switch_track_off.svg",
- Pressed = FrameworkInformation.ResourcePath + "IoT_switch_track_off_p.svg",
- Disabled = FrameworkInformation.ResourcePath + "IoT_switch_track_off_d.svg",
- Focused = FrameworkInformation.ResourcePath + "IoT_switch_track_off_f.svg",
- Selected = FrameworkInformation.ResourcePath + "IoT_switch_track_on.svg",
- SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_track_on_p.svg",
- SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_track_on_f.svg",
- DisabledSelected = FrameworkInformation.ResourcePath + "IoT_switch_track_on_d.svg",
+ Normal = FrameworkInformation.ResourcePath + "IoT_switch_track_off.png",
+ Pressed = FrameworkInformation.ResourcePath + "IoT_switch_track_off_p.png",
+ Disabled = FrameworkInformation.ResourcePath + "IoT_switch_track_off_d.png",
+ Focused = FrameworkInformation.ResourcePath + "IoT_switch_track_off_f.png",
+ Selected = FrameworkInformation.ResourcePath + "IoT_switch_track_on.png",
+ SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_track_on_p.png",
+ SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_track_on_f.png",
+ DisabledSelected = FrameworkInformation.ResourcePath + "IoT_switch_track_on_d.png",
},
},
Thumb = new ImageViewStyle()
Size = new Size(40, 40),
ResourceUrl = new Selector<string>()
{
- Normal = FrameworkInformation.ResourcePath + "IoT_switch_thumb.svg",
- Disabled = FrameworkInformation.ResourcePath + "IoT_switch_thumb_d.svg",
- Selected = FrameworkInformation.ResourcePath + "IoT_switch_thumb_s.svg",
- SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sp.svg",
- SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sf.svg",
+ Normal = FrameworkInformation.ResourcePath + "IoT_switch_thumb.png",
+ Disabled = FrameworkInformation.ResourcePath + "IoT_switch_thumb_d.png",
+ Selected = FrameworkInformation.ResourcePath + "IoT_switch_thumb_s.png",
+ SelectedPressed = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sp.png",
+ SelectedFocused = FrameworkInformation.ResourcePath + "IoT_switch_thumb_sf.png",
}
},
Text = new TextLabelStyle()