diff options
author | Seungkeun Lee <sngn.lee@samsung.com> | 2017-02-08 10:17:28 +0900 |
---|---|---|
committer | Kangho Hur <kangho.hur@samsung.com> | 2017-07-10 11:11:19 +0900 |
commit | bc891e2b6160d47a9e1960c38e911773bff64b66 (patch) | |
tree | a7abb3e73052974406369757a13c478248561152 /Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs | |
parent | 6964d20afc00124fd73b540ead1e004844e944fc (diff) | |
download | xamarin-forms-bc891e2b6160d47a9e1960c38e911773bff64b66.tar.gz xamarin-forms-bc891e2b6160d47a9e1960c38e911773bff64b66.tar.bz2 xamarin-forms-bc891e2b6160d47a9e1960c38e911773bff64b66.zip |
Support density independent pixel
- Support Enable/Disable of this feature
- By default, it was disabled. if you want enabling DP support feature,
Use Forms.Init(FormsApplication application, bool useDeviceIndependentPixel) API
- Hard-coded pixel value was changed to DP units
- If you deal with native coordinate, use Forms.ConvertToScaledPixel / Forms.ConvertToScaledDP
- If you convert hard-coded DP to pixels, use Forms.ConvertToPixel
- Update font size convert formula
Change-Id: I345115551e1c37d27b8a7152af5ef847d035c9a4
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs')
-rw-r--r-- | Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs index 798a0497..3c9734db 100644 --- a/Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs +++ b/Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs @@ -58,7 +58,7 @@ namespace Xamarin.Forms.Platform.Tizen protected override Size MinimumSize() { - return new Size(250, 120); + return new Size(136, 65); } /// <summary> |