You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever focus is changed, scroll should pan to the widget with the focus. in this example when focusing the textboxes outside the viewport, scroll doesn't move
example to test
use druid::widget::{Flex,Padding,TextBox};use druid::{AppLauncher,Widget,WidgetExt,WindowDesc};pubfnmain(){let window = WindowDesc::new(build_widget());AppLauncher::with_window(window).log_to_console().launch("".to_string()).expect("launch failed");}fnbuild_widget() -> implWidget<String>{letmut col = Flex::column();for _ in0..30{
col.add_child(Padding::new(3.0,TextBox::new()));}
col.scroll()}
The text was updated successfully, but these errors were encountered:
Maybe this could be done with a notification. Something like ScrollTo: Selector<Rect>. Either with global coordinates or by updating the notification in every WidgetPod it is passed trough.
Whenever focus is changed, scroll should pan to the widget with the focus. in this example when focusing the textboxes outside the viewport, scroll doesn't move
example to test
The text was updated successfully, but these errors were encountered: