Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate background changes in Shoes 3 #1455

Open
jasonrclark opened this issue Jul 10, 2017 · 1 comment
Open

Investigate background changes in Shoes 3 #1455

jasonrclark opened this issue Jul 10, 2017 · 1 comment

Comments

@jasonrclark
Copy link
Member

From the mailing list... see whether changes related to shoes/shoes3#355 should cause updates in Shoes 4.

@ccoupe referenced seeing two bugs in trying to run this sample program on Shoes 4:

Shoes.app(title: " v1.0", width: 300, height: 500, resizable: true ) do
     background green
     @main = stack left: 0.05, top: 0.15, width: 0.9, height: 0.8,
scroll: true do
         background beige
         100.times do |i|
             para "#{i+1} times"
         end
     end
end

I'm betting one of them is the fact it doesn't scroll since that's a long-standing thing we haven't gotten quite implemented yet. @ccoupe, other details you'd care to fill in about the other bad behavior you're seeing?

@ccoupe
Copy link

ccoupe commented Jul 10, 2017

Correct. If you resize small a scroll bar does appear but it's not sized and the range is limited.

FWIW, Shoes 3.3.3 will recognize a scroll: true argument to background and moves the background with the contents scrolling. . Otherwise you get the traditional/old/correct-for-many behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants