Open IanTrudel opened 8 years ago
This would require horizontal scrolling for all things since it's implemented in canvas and it would change how Shoes lays out widgets. It runs counter to the Shoes design of a fixed with, infinite height app windows. In short, a complete rewrite of the layout engine and modifications to all widgets. One hell of a lot of work.
I know you think I'm exaggerating or I'm being argumentative because I'm stubborn. Feel free to study the C code and fix it. The only question for me is whether to assign this issue to enhancement or wish list. 3.3. is not likely.
You may be absolutely right but it is not an enhancement, it is an actual bug. Removing 3.3.0 tag is fine in the light of your feedback. There is no urgency on this one at the moment. So we can keep it, document it, look at it later on. No problem.
(Small update) This bug is still present in Shoes 3.3.2.
No, it is not a bug - I don't remember Shoes ever putting horizontal scroll bars on stacks or flows. The vertical scroll bar is for the slot, not the image.
This is by design, an assumed choice by the creator himself, Manual is crystal clear on this !!!
@passanger94 would you please point exactly in the manual where it is crystal clear? This would make a whole lot difference as to what we should do with this issue.
It doesn't require manual citation (a fallible gotcha) . Slots don't get horizontal scrollbars. They just don't. Never did. How would flow work if there was a horizontal scroll for each flow? Edit_box (a native) might or might not put up horizontal scroll bar but Shoes doesn't know about that.
Furthermore , svg resizes to fit the slot. Try it. You can also scale a png to fit into your predetermined size.
Shoes.app(width: 256, height: 256) {
image "#{DIR}/static/splash.png", width: 256, height: 256
}
See beginning of the Slot section. There's some other info elsewhere, i can't find it atm, maybe Nobody Knows Shoes or the Wiki ... This is a central design of Shoes, (think about the Flow's behavior @ccoupe is talking about)