DALI_TEST_CHECK(value);
DALI_TEST_EQUALS(value->Get<Vector2>(), Vector2(0, 0), TEST_LOCATION); // OFFSET is zero
+ value = returnedMap.Find(DevelVisual::Property::VISUAL_FITTING_MODE);
+ DALI_TEST_CHECK(value);
+ DALI_TEST_EQUALS(value->Get<std::string>(), "FIT_HEIGHT", TEST_LOCATION); // OFFSET is zero
+
END_TEST;
}
DALI_TEST_CHECK(value);
DALI_TEST_EQUALS(value->Get<Vector2>(), Vector2(0, 50), TEST_LOCATION);
+ value = returnedMap.Find(DevelVisual::Property::VISUAL_FITTING_MODE);
+ DALI_TEST_CHECK(value);
+ DALI_TEST_EQUALS(value->Get<std::string>(), "FIT_WIDTH", TEST_LOCATION); // OFFSET is zero
+
END_TEST;
}
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2024 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
DALI_ENUM_TO_STRING_WITH_SCOPE(Visual::FittingMode, FILL)
DALI_ENUM_TO_STRING_WITH_SCOPE(Visual::FittingMode, OVER_FIT_KEEP_ASPECT_RATIO)
DALI_ENUM_TO_STRING_WITH_SCOPE(Visual::FittingMode, CENTER)
- DALI_ENUM_TO_STRING_WITH_SCOPE(Visual::FittingMode, FIT_WIDTH)
DALI_ENUM_TO_STRING_WITH_SCOPE(Visual::FittingMode, FIT_HEIGHT)
+ DALI_ENUM_TO_STRING_WITH_SCOPE(Visual::FittingMode, FIT_WIDTH)
DALI_ENUM_TO_STRING_TABLE_END(VISUAL_FITTING_MODE)
/**