mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-27 18:36:12 +00:00
!fixup Try to fix the C++ build
This commit is contained in:
parent
2fab7822c3
commit
a6c88b5a3a
2 changed files with 8 additions and 1 deletions
|
|
@ -256,6 +256,13 @@ translate_from_bundle_with_plural(std::span<const char8_t *const> strs,
|
|||
return result;
|
||||
}
|
||||
|
||||
template<typename Component>
|
||||
inline float get_resolved_default_font_size(const Component &component)
|
||||
{
|
||||
ItemTreeRc item_tree_rc = (*component.self_weak.lock()).into_dyn();
|
||||
return slint::cbindgen_private::slint_windowrc_resolved_default_font_size(&item_tree_rc);
|
||||
}
|
||||
|
||||
} // namespace private_api
|
||||
|
||||
#ifdef SLINT_FEATURE_GETTEXT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue