mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Remove the solve_layout from the component vtable
no longer required
This commit is contained in:
parent
f6b71b36a7
commit
720001a223
27 changed files with 5 additions and 103 deletions
|
@ -587,15 +587,6 @@ public:
|
|||
return { &C::static_vtable, const_cast<C *>(&(**x.ptr)) };
|
||||
}
|
||||
|
||||
void compute_layout(cbindgen_private::Rect parent_rect) const
|
||||
{
|
||||
if (!inner)
|
||||
return;
|
||||
for (auto &x : inner->data) {
|
||||
(*x.ptr)->apply_layout({ &C::static_vtable, const_cast<C *>(&(**x.ptr)) }, parent_rect);
|
||||
}
|
||||
}
|
||||
|
||||
float compute_layout_listview(const Property<float> *viewport_width, float listview_width) const
|
||||
{
|
||||
float offset = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue