scrollbar

How To Show Scrollbar Always On UICollectionView

喜夏-厌秋 提交于 2019-12-22 04:43:22
问题 I have a UICollectionView added to a UIView in an app I am working on. Displayed in the UICollectionView I have a set of images pulled from Core Data. The vertical scrolling works fine but the scrollbar does not display until the user touches the UICollectionView. How can I make sure the scrollbar at the right is always visible so that an indication is given to the user that it is scrollable? 回答1: You can't make them always visible. Instead, you can flash them once, when the user is first

Which element is causing the horizontal scrollbar? Automated detection [closed]

强颜欢笑 提交于 2019-12-22 04:01:30
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Horizontal scrollbars on web sites and HTML apps are generally bad for usability and unwanted. It's reasonably common to find them

Correct way to set ScrollViewer (for vertical scrolling) on a WPF Frame?

亡梦爱人 提交于 2019-12-22 03:15:09
问题 does anyone know the difference between defining a vertical scrollbar on a frame like this: <ScrollViewer Grid.Row="2" VerticalScrollBarVisibility="Auto"> <Frame Name="Frame1" ScrollViewer.CanContentScroll="True" /> </ScrollViewer> or like this: <ScrollViewer Grid.Row="2"> <Frame Name="Frame1" ScrollViewer.VerticalScrollBarVisibility="Auto" ScrollViewer.CanContentScroll="True" /> </ScrollViewer> This frame is nested in a WebBrowser control and setting it the first way correctly displays the

Sticky scrollbar at bottom of table

不问归期 提交于 2019-12-22 02:32:09
问题 I'm not sure if "sticky" is the term for this, but is there a way to make the scrollbar from overflow:auto stay visible? I have a rather large table that I want to be scrollable horizontally; however, the table is fairly tall as well, so when the page loads the horizontal scrollbar is not within the viewport of the browser, so it's rather hard to tell that the table is scrollable at all. <div style = 'width:900px;overflow:auto'> <table> <!-- Very large table here --> </table> </div> The

Changing classes with animation depending on scroll position

人盡茶涼 提交于 2019-12-22 01:05:18
问题 My page contains four sections, each set to 100% height with different background color. At the very top I have a fixed menu. I want the menu to change it's background color depending on which section the user is at the moment, so it blends better with the background. So far I have managed to make the menu's bg color to change when portfolio is entered, but it's not much and I am stuck. It has to change it's color again, when the user scrolls back to home, forth to about and so on. Also, I

HTML Divs, Columns, Horizontal Scroll Bar

荒凉一梦 提交于 2019-12-22 00:58:23
问题 I'm trying to display several chunks of data in columns next to each other. I have set the container to display inline, which works great if the columns are relatively thin. As soon as a column exceeds the horizontal screen length, the other columns get appended to the bottom. My question is this: How can display inline column divs that are placed horizontally, with a horizontal scroll bar? Note: I actually WANT the scroll bar; I want the elements side by side. <div class="container"> <div

ScrollBar value set incorrectly

半腔热情 提交于 2019-12-21 20:43:34
问题 I am trying to implement something similar to Excel's "infinite" scrollability; in that a user can scroll to the "bottom" of the document; but then keep scrolling (using either the scrollwheel or the down arrow on the scrollbar), and more, empty rows are generated for them. I have this mostly working (when using the mouse scrollwheel it works perfectly); but I am having troubles with the SmallIncrement functionality - that is; when the user clicks the down arrow on the scrollbar, it should go

ScrollBar value set incorrectly

╄→гoц情女王★ 提交于 2019-12-21 20:42:40
问题 I am trying to implement something similar to Excel's "infinite" scrollability; in that a user can scroll to the "bottom" of the document; but then keep scrolling (using either the scrollwheel or the down arrow on the scrollbar), and more, empty rows are generated for them. I have this mostly working (when using the mouse scrollwheel it works perfectly); but I am having troubles with the SmallIncrement functionality - that is; when the user clicks the down arrow on the scrollbar, it should go

jQuery mCustomScrollbar disappears after Ajax reload

耗尽温柔 提交于 2019-12-21 20:35:21
问题 like here written I have a problem with jQuery mCustomScrollbar. Binding the scrollbar at the first load works fine. $("#contenDiv").load("dummytext.php", function() { $("#contenDiv").mCustomScrollbar({ theme: "light", alwaysShowScrollbar: 1 }); }); But when I reload the Divs content the mCustomScrollbar disappears, althougt I call the "update" method. $("#loadbutton").click(function() { $("#contenDiv").load("dummytext.php", function() { $(this).mCustomScrollbar("update"); }); }); I've also

SWT standalone scrollbar widget

放肆的年华 提交于 2019-12-21 20:35:10
问题 Is there a way to create a "standalone" scrollbar in SWT? I would like to have a scrollbar which I have full control over myself and use it to control the contents of another widget in a way which isn't possible with the "built-in" scrollbars in the Table widget, for example. 回答1: I agree that you probably can't get a scrollbar alone, but I've worked around that with using a Canvas ( or ScrolledComposite ) and then set the content of that composite to exactly the same size as the