Questions tagged [scrollable]

A scrollable control affords the user the ability to slide text, images or video across a monitor or display, usually to conserve screen real estate.

516 questions
5
votes
1 answer

Bottom navigation with scrollable toolbar in coordinator layout

Hei Guys, I'm trying to get the scroll_behaviour done right for my layout. My problem is that if I wrap the bottom navigation into a relative layout and put my main content above it, then the bottom navigation scrolls out of screen when the toolbar…
5
votes
1 answer

How do you tell if a UIScrollView content overflows

I have a UIScroll view with content in it. If that content overflows, making the scroll view scrollable, I'd like to set the bottom of the view to be a certain color. If it does not, I'd like to set it to a different color. My issue is, I do not…
steventnorris
  • 5,056
  • 20
  • 82
  • 156
5
votes
3 answers

Android. Lollipop. RecyclerView doesn't scroll

I'm trying to make a RecyclerView in my App, but I can't make it scrollable. There are a lot of same problems discused here, but no solution helps me. I read the manual: http://developer.android.com/training/material/lists-cards.html#RVExamples I…
5
votes
2 answers

How do I create a scrollable context menu in JavaFX?

I have a situation where a context menu can potentially have hundreds of menu items added to it. By default a context menu will show scroll buttons at the top/bottom of the popup, but it takes the full height of the screen. I tried setting the…
user3461443
  • 191
  • 1
  • 1
  • 5
5
votes
2 answers

Prevent scrolling of parent container when scrolling in overflow:scroll container has reached its limits

Simply put, i guess you all know the issue: you use your mousewheel (or trackpad gesture) to scroll inside a div that is set to overflow:scroll (or a setting to that effect). The moment you reach the end of the scrollable area, the scroll 'commands'…
SquareCat
  • 5,318
  • 5
  • 33
  • 74
5
votes
1 answer

When is getPreferredScrollableViewportSize() called when laying out JScrollPane?

Implementing the Scrollable interface requires implementing the getPreferredScrollableViewportSize() method. This is typically done by just forwarding the call to getPreferredSize() - except when other parameters of the Scrollable may affect the…
ags
  • 693
  • 5
  • 22
4
votes
2 answers

Sizing issue with scrollable JTextField

I have a form with lots of text fields and some of those text fields may contain very long strings. To make it work I made those text fields scrollable using this code: JScrollPane scroll = new JScrollPane(textField); scroll.setPreferredSize(new…
GrayR
  • 1,225
  • 2
  • 18
  • 32
4
votes
4 answers

Flutter ListView with different widgets and list items

I'm not sure if I'm missing something. I'm playing around with Flutter and I want to build a (simple) view with some text widgets, buttons and other widgets (see picture below). These widgets should be followed by a list of items. The whole view…
user2148956
  • 137
  • 1
  • 10
4
votes
2 answers

UITextView text get cut off - iOS 10

I'm having a weird problem with iOS 10, Swift 3. The UITextView sometimes get "stuck". With "stuck" I mean the text inside of it gets cut, so only a part of it is visible. When this happens, the UITextView is not scrollable. In the storyboard I…
atlas
  • 361
  • 4
  • 13
4
votes
0 answers

jQuery/css/html: scrollable table with fixed header

I know this question has been asked several times but I couldn't find a satisfying, x-browser solution yet. I thought the easiest way to accomplish a scrollable table with fixed header should be using 2 tables: (1 for header, 1 for the content) and…
Fuxi
  • 7,382
  • 24
  • 88
  • 135
4
votes
1 answer

Scrollable Group with a List using TraitsUI

So I have a problem with my traitsUI code. What I want to have is a List that is shown using CheckListEditor() and is in a confined space so it could be scrollable. I need to have this List in a Group because this would be only a small part of the…
Pagirnis
  • 53
  • 6
4
votes
1 answer

How to detect the drag scrollbar event with jQuery?

I have a scrollable
(overflow: auto;) and I want to detect the event of dragging the scroll bar inside the div. My current code is: var scrollableDiv = $('.scrollablediv'); $(document).on('DOMMouseScroll mousewheel touchmove scroll',…
user2335065
  • 2,066
  • 3
  • 25
  • 43
4
votes
1 answer

Variable height header with scrollable content area filling remaining viewport area

I've seen versions of this simple problem raised a dozen times here and elsewhere on the web, but I haven't seen a solution that works for me yet so I'm asking it again. I want a webpage with a variable height full width header (height based on…
Neutrino
  • 41
  • 1
4
votes
1 answer

How to make listview and GridLayout scrollable

This is my layout file.My gridlayout is fixed only my listview is scrollable.I have tried to set gridlayout as listview header but then there are two gridlayouts.please tell what am I doing wrong.I want whole layout scrollable including listview…
Tushar189
  • 246
  • 1
  • 11
4
votes
1 answer

How to change the size of the graphics

I have Java applet to draw an array (just some rectangle one after another). When user select to create array of size n, it will draw n rectangles connected together. When n gets bigger, the graphics get bigger, but since i use JPanel to draw the…
ohana
  • 41
  • 1
  • 2
1 2
3
34 35