Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
- Removed the initialized size of Loading visual.
- Added the default size value on Loading PreloadStyle
- Modified InputMethodContext description slightly.
if (newValue != null)
{
Size size = (Size)newValue;
if (newValue != null)
{
Size size = (Size)newValue;
- instance.Style.Size = size;
+ ((View)bindable).Size = size;
if (null != instance.imageVisual)
{
instance.imageVisual.Size = new Size2D((int)size.Width, (int)size.Height);
if (null != instance.imageVisual)
{
instance.imageVisual.Size = new Size2D((int)size.Width, (int)size.Height);
if (newValue != null)
{
int frameRate = (int)newValue;
if (newValue != null)
{
int frameRate = (int)newValue;
- if (0 != frameRate) //It will crash if 0
+ if (0 != frameRate) //It will crash if 0
{
instance.Style.FrameRate.All = frameRate;
instance.imageVisual.FrameDelay = 1000.0f / frameRate;
{
instance.Style.FrameRate.All = frameRate;
instance.imageVisual.FrameDelay = 1000.0f / frameRate;
- SetValue(SizeProperty, value);
+ SetValue(SizeProperty, value);
URLS = new List<string>(),
FrameDelay = 16.6f,
LoopCount = -1,
URLS = new List<string>(),
FrameDelay = 16.6f,
LoopCount = -1,
- Size = new Size2D(100, 100),
Position = new Vector2(0, 0),
Origin = Visual.AlignType.Center,
AnchorPoint = Visual.AlignType.Center
Position = new Vector2(0, 0),
Origin = Visual.AlignType.Center,
AnchorPoint = Visual.AlignType.Center
}
if (null != Style.LoadingSize)
{
}
if (null != Style.LoadingSize)
{
- imageVisual.Size = new Size2D((int)Style.LoadingSize.Width, (int)Style.LoadingSize.Height);
+ this.Size = new Size2D((int)Style.LoadingSize.Width, (int)Style.LoadingSize.Height);
+
+ protected override LoadingStyle GetLoadingStyle()
+ {
+ return new LoadingStyle
+ {
+ LoadingSize = new Size(100, 100)
+ };
+ }
+
+ protected override LoadingStyle GetLoadingStyle()
+ {
+ return new LoadingStyle
+ {
+ LoadingSize = new Size(360, 360)
+ };
+ }
styleMap.Add(typeof(Switch), GetSwitchStyle);
styleMap.Add(typeof(Tab), GetTabStyle);
styleMap.Add(typeof(Toast), GetToastStyle);
styleMap.Add(typeof(Switch), GetSwitchStyle);
styleMap.Add(typeof(Tab), GetTabStyle);
styleMap.Add(typeof(Toast), GetToastStyle);
+ styleMap.Add(typeof(Loading), GetLoadingStyle);
}
internal delegate ViewStyle ComponentStyleGetter();
}
internal delegate ViewStyle ComponentStyleGetter();
protected abstract TabStyle GetTabStyle();
protected abstract ToastStyle GetToastStyle();
protected abstract TabStyle GetTabStyle();
protected abstract ToastStyle GetToastStyle();
+
+ protected abstract LoadingStyle GetLoadingStyle();
public enum InputPanelLanguage
{
/// <summary>
public enum InputPanelLanguage
{
/// <summary>
- /// IME Language automatically set depending on the system display.
+ /// IME Language is automatically set depending on the system display.
/// </summary>
/// <since_tizen> 8 </since_tizen>
Automatic,
/// </summary>
/// <since_tizen> 8 </since_tizen>
Automatic,