Hi Isomorphic,
exactly what I was looking for. Thank you very much!
Best regards
Pavo
Announcement
Collapse
No announcement yet.
X
-
Do you mean like this, with width:100% for the inner canvas, to avoid a horizontal scroller, and a taller height for the inner canvas, to ensure a v-scroller?
Code:isc.Canvas.create({ backgroundColor:"yellow", width:400, height:300, overflow:"auto", children:[ isc.Canvas.create({ backgroundColor:"blue", width:"100%", height:400, overflow:"clip-h" }) ] })
Leave a comment:
-
Hi Isomorphic,
thank you very much for the answer!
Sorry but I didn't understand how exactly achieve an alternative way.
I think that you've suggested something like:
Code:isc.Canvas.create({ backgroundColor:"yellow", width:400, height:400, overflow:"auto", children:[ isc.Canvas.create({ backgroundColor:"blue", width:400, height:400, overflow:"clip-h" }) ] })
It would be great if you can edit my sample because then it will be very clear how to it.
Best regards
Pavo
Leave a comment:
-
Hi Pavo
This is not currently supported.
It's something we've considered if there's sufficient interest, and might be eligible for Feature Sponsorship if that would interest you.
For now an alternative might be to create a parent canvas with overflow set to Overflow.AUTO and a child component with overflow set to Overflow.CLIP_H
Regards
Isomorphic Software
Leave a comment:
-
Or even better possibily:
com.smartgwt.client.types.Overflow.AUTO_V
That would mean: Vertical scrollbars are displayed only if necessary.
Leave a comment:
-
com.smartgwt.client.types.Overflow: SCROLL_V
Hi Isomorphic,
is it possible to always draw only vertical scrollbar and never horizontal?
Best regards
PavoTags: None
Leave a comment: