[NUI] Fix fitting mode issue of ImageView (#1977)
authorXianbing Teng <xb.teng@samsung.com>
Wed, 23 Sep 2020 02:49:20 +0000 (10:49 +0800)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 02:49:20 +0000 (11:49 +0900)
Co-authored-by: Xianbing Teng <reformed_beginner@outlook.com>
Co-authored-by: dongsug-song <35130733+dongsug-song@users.noreply.github.com>
src/Tizen.NUI/src/public/BaseComponents/ImageView.cs

index a4049b694f0a8f4c8674e13829982c73e95ce8ef..1bb96235cce90b6d8fbe5d17ec692dde7f8aed13 100644 (file)
@@ -828,7 +828,7 @@ namespace Tizen.NUI.BaseComponents
                 case VisualFittingModeType.FitHeight:
                     return FittingModeType.FitHeight;
                 case VisualFittingModeType.FitWidth:
-                    return FittingModeType.FitHeight;
+                    return FittingModeType.FitWidth;
                 default:
                     return FittingModeType.ShrinkToFit;
             }