diff options
author | Seungkeun Lee <sngn.lee@samsung.com> | 2017-02-02 15:43:11 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-07-10 11:11:18 +0900 |
commit | 2fc70cec01a74d573faa6af3c21502d29bff41e2 (patch) | |
tree | 3e6edaa1cc19d7adc222a9308f7b462c22b55e32 /Xamarin.Forms.Platform.Tizen/Native | |
parent | 39db2418565eb13f4b082f932d85595f5d1976ac (diff) | |
download | xamarin-forms-2fc70cec01a74d573faa6af3c21502d29bff41e2.tar.gz xamarin-forms-2fc70cec01a74d573faa6af3c21502d29bff41e2.tar.bz2 xamarin-forms-2fc70cec01a74d573faa6af3c21502d29bff41e2.zip |
Remove unnecessary resize of Window
- In Initialize step, resize window to ScreenSize, but it is not necessary
- And it cause improper resize callback, it caused performance degradation
Change-Id: I04f684da0d45ef3b7f40b8646303422197063acf
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Native')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Native/Window.cs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Native/Window.cs b/Xamarin.Forms.Platform.Tizen/Native/Window.cs index 7587e17c..2bc45c66 100644 --- a/Xamarin.Forms.Platform.Tizen/Native/Window.cs +++ b/Xamarin.Forms.Platform.Tizen/Native/Window.cs @@ -95,10 +95,6 @@ namespace Xamarin.Forms.Platform.Tizen.Native void Initialize() { - // size - var size = ScreenSize; - Resize(size.Width, size.Height); - // events Deleted += (sender, e) => { @@ -123,14 +119,10 @@ namespace Xamarin.Forms.Platform.Tizen.Native Show(); _conformant = new Conformant(this); - _conformant.SetAlignment(-1.0, -1.0); // fill - _conformant.SetWeight(1.0, 1.0); // expand _conformant.Show(); // Create the base (default) layout for the application _layout = new ELayout(_conformant); - _layout.SetAlignment(-1.0, -1.0); // fill - _layout.SetWeight(1.0, 1.0); // expand _layout.SetTheme("layout", "application", "default"); _layout.Show(); |