linebender / druid

A data-first Rust-native UI design toolkit.
https://linebender.org/druid/
Apache License 2.0
9.45k stars 569 forks source link

Remove `set_layout_rect` and fix deprecation declarations. #2340

Closed xStrom closed 1 year ago

xStrom commented 1 year ago

WidgetPod::set_layout_rect has been soft-deprecated since #1289. Then #2149 changed its signature. I considered changing its signature back to the previous one and giving it a proper deprecation declaration. However looking at the code, it doesn't even set the widget's layout rect. So at this point the method has outlived its usefulness and should be removed.

use_simple_logger deprecation declaration was incorrectly claiming version 0.7, so I changed it to 0.8.

The Parse widget was deprecated way back in #1377 and even declared so in the changelog. However the struct never got a proper declaration. Better late than never.