How to have scrollbar in my view


#1

Hi,
I’m developing an Atom plugin which have simple UI yet I’m having trouble getting it right so I’ll have scrollbar in my atom-text-editor element.
As you can see in the screenshot I have few buttons and an atom-text-editor.
The prbolem I have is how to get the atom-text-editor take all the space bellow the buttons and dropdowns so it will have a scrollbar if the text exceed the height of the editor.


#2

Mind sharing your repo?


#3

Sure, this is the line of the html rendering. Please note I’m pushing to branch compile for now not master.


#4

Did you ever get an answer to this? I am having the same issue with my package.

My text editor view can scroll left and right, but even when using a cursor inside the view it will only scroll vertically if I type something off screen.


#5

no, sorry - I’ve discontinue this project