add ui and viewport scale option, fix combobox items height from parent

This commit is contained in:
2019-08-04 12:00:49 +02:00
parent a1436eec4a
commit cc087746bd
10 changed files with 107 additions and 39 deletions

View File

@@ -32,4 +32,9 @@ public:
{
return I.Descriptor::value<T>(key);
}
template <typename T, typename D = decltype(T::value)>
static D value_or(const std::string& key, D def)
{
return I.Descriptor::value_or<T, D>(key, def);
}
};