Comments (7)
I can't find anywhere in the manual that suggests these work. I'm assuming this an enhancement request.
By definition there is nothing to scroll in an edit_line.
from shoes3.
By definition there is nothing to scroll in an edit_line.
Agreed on edit_line. However, it is a normal behaviour (any GUI) to provide support for a scrollbar on an edit_box. The text can easily overflow and it would be a struggle to edit in such edit box without a scrollbar.
from shoes3.
Shoes.app do
@a = edit_box :height => 100
str = ""
10.times {|i| str << "Line #{i}\n"}
@a.text = str
button "Display" do
para @a.text
end
end
A scroll bar appears. You can edit the text.
from shoes3.
True. Let's go back on the original topic for a second: Shoes edit_box does not respond to scroll_top, scroll_max, scroll_height, scroll and gutter. There is no way to know anything about that said scrollbar.
from shoes3.
I'd like an option to autoscroll (if needed) but that's different. Serious question. What would you do if you knew the edit_box has or doesn't have a scroll bar? What ever that reason is - can you detect that condition in the block attached to the edit_box?
from shoes3.
Something I've learned with the 3.2.24 console is that edit box could behave much more like a multi-line text editor window (both gtk and osx). It's a lot code to implement and we'd have to add some methods/styles/procs to Shoes - perhaps it would be better to just create a new control for Shoes so don't have compatibility issues to deal with.
from shoes3.
Partially addressed in #146. Good enough?
from shoes3.
Related Issues (20)
- Touchscreen scrolling by dragging content HOT 14
- Packaging with an icon causes invalid bit count HOT 2
- Cannot load ZIP gem under certain conditions HOT 42
- Windows 7 mouse offset on 3.3.7 HOT 5
- Image is disappearing upon setting its path back to the original path HOT 4
- Progress bar fractions HOT 2
- Button colors HOT 2
- Image Clearing in Shoes 3 HOT 2
- Window resize HOT 4
- Menu trim for windows HOT 2
- Video player becomes transparent on sides after playing a video file HOT 7
- Iframes in app? HOT 2
- keyup and keydown not working on masOs HOT 3
- Text styles in buttons HOT 4
- Display unicode emoji in UI HOT 6
- icon HOT 9
- install old version of a gem? HOT 2
- download link to mac version offline HOT 15
- Possible logic error in code HOT 2
- Replace hacked website mvmanila.com HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shoes3.