Spec icon indicating copy to clipboard operation
Spec copied to clipboard

scrollTo: on SpScrollableLayout not working

Open LABSARI opened this issue 3 years ago • 3 comments

I have this error: dscrollTo

Adapter has no scrollTo: method.

LABSARI avatar Oct 27 '22 12:10 LABSARI

Any instructions to reproduce this problem?

hernanmd avatar Jan 08 '23 13:01 hernanmd

SpPresenter new
	layout: (scrollable := SpScrollableLayout new
		child:(
SpPresenter new
	layout: (SpBoxLayout newVertical
			 add: (SpButtonPresenter new label: 'toto');
			 add: (SpButtonPresenter new label: 'henanmd');
			add: (SpButtonPresenter new label: 'toto');
			 add: (SpButtonPresenter new label: 'henanmd');
			add: (SpButtonPresenter new label: 'toto');
			 add: (SpButtonPresenter new label: 'henanmd');
			add: (SpButtonPresenter new label: 'toto');
			 add: (SpButtonPresenter new label: 'henanmd');
			 yourself);
			yourself);
			yourself);
			open.
scrollable scrollTo: 10@10

guillep avatar Mar 24 '23 09:03 guillep

Thanks. I pushed a PR here https://github.com/pharo-spec/Spec/pull/1370

hernanmd avatar Mar 24 '23 15:03 hernanmd