mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
![]() The metrics properties and the implementation of layout_info needs to strictly reading cross-axis properties to avoid circular dependencies. This patch applies a INT_MAX / 2 on the cross-axis to QStyle when querying. Mostly the styles appear to just add/subtract margins, so this value should not produce overflows while still providing an approximation of "infinite" :) Fixes #412 |
||
---|---|---|
.. | ||
button.rs | ||
checkbox.rs | ||
combobox.rs | ||
groupbox.rs | ||
lineedit.rs | ||
listviewitem.rs | ||
scrollview.rs | ||
slider.rs | ||
spinbox.rs | ||
tabwidget.rs |