Questions tagged [scrollbar]

2

votes
2

answer
5.5k

Views

How to remove double scroll bar?

I have a double scroll bar on my website in Chrome and Firefox (both browsers are up to date). I have been researching the web and stackoverflow and have tried following suggested options on the html element: html { overflow: hidden; } - afterwards - html { overflow: auto; } - and - html { overflow:...
Shutsen
2

votes
2

answer
1.2k

Views

css popup doesn't work on the last rows of table

HI guys! So I've a table in html. And one of the columns has a popup in the cell to show some information. the table is also quite large so I've added an horizontal scrollbar on the top and bottom of the page with jquery, with the help of @Stanley, see question. The popup always stays at the bottom...
psoares
1

votes
3

answer
33.6k

Views

how to add scrollbar in div

I want to add a scrollbar to div id='kryesore' in mainpage,when i try it doesn't work.Can you tell me what can i do and how can i fix it? below 2 screenshot how it look like : l
Klevi
1

votes
2

answer
3.2k

Views

JQuery Scrollbar not working

I am trying to put a scrollbar in the text area on one of my projects. After a little research I decided to use the Gromo's jQuery Scrollbar http://gromo.github.io/jquery.scrollbar/ So I loaded everything up on the head (jQuery, The Js for this plugin, and the JavaScript on the demo page). Instead...
3

votes
4

answer
6.8k

Views

vertical scroll bar not working when using window xp theme (not classic)

This may sound crazy, and i didnt believe it until i saw it for myself. The vertical scroll bar does not scroll when you click in the space between the scroller or the arrows. You have to drag the bar to get it to scroll. This only happens in the ugly default theme (not windows classic). The scrol...
mkoryak
1

votes
2

answer
179

Views

How to add a scroll bar in my JTextArea class in Java?

First, I know how to add a scrollbar in a JTextArea. JTextArea textarea = new JTextArea(); JScrollPane scrollbar = new JScrollPane(textarea); But in the following JTextArea class code below public class MyTextArea extends JTextArea { public MyTextArea() { setEditable(true); setSize(500, 500); //J...
Lord Rixuel
2

votes
1

answer
4k

Views

Overflow-x:hidden not working w/ Android (Samsung Epic) and possibly others

I'm using CSS media queries to adjust a site's layout based on the resolution/device. I've got the layout looking nice, but I can't make the horizontal scrollbar disappear. I've also tried eliminating the ability to zoom out to no avail... any advice would be appreciated. The site is dev.javelinexpe...
Ben Zalasky
2

votes
1

answer
3.2k

Views

Win Forms DataGridView Horizontal ScrollBar

Is it possible to show permanently the horizontal scroll bar of a DataGridView in Windows Forms 2.0. Like we can do in the horizontal scroll bar of a Panel. Currently, the Horizontal ScrollBar is visible only when the total sum of widths of the columns is bigger than the DataGridView width. But I wa...
dan
2

votes
4

answer
1.9k

Views

Facebook iFrame app - getting rid of vertical scrollbars?

I've converted a Facebook app from FBML to iFrame (with PHP SDK) and now have vertical scrollbars displayed for the same amount of content I had before (a logo, a flash game and a line with 3 links below). But earlier I didn't have any scrollbars. If I set the app setting Auto-Resize, then the lower...
3

votes
3

answer
9.8k

Views

Change the size of scrollbar in winforms

I want to change the size of the actual bar/thumb part of the scrollbar in winforms but I can't find a way to do this. The thumb is about 1/10 of the actual scroll area regardless of how much there is to scroll. It's the same whether I have to scroll down 1 line or 1000 line. I want the size of i...
Jack
2

votes
2

answer
5.3k

Views

How to add scroll bar dynamically in div?

Hi I need to add a Scroll bar dynamically. I tried http://www.w3schools.com/cssref/tryit.asp?filename=trycss_overflow, but its not working. Anybody kindly help me.
JavaH
1

votes
3

answer
2.5k

Views

Is there any way to implement fast scroll thumb in webview?

How can I implement fast scroll thumb in a webview? I'm creating a web browser and would like to implement fast scroll thumb. My main motive is to implement it, not some other alternative.
Gauraw Yadav
4

votes
1

answer
4.7k

Views

Custom Control and Scrolling, Help?

I can't get scrolling working in my custom control. Currently it draws it's own content (at the moment just grid) and should be treated as having a large area to work in. However, I can't get scrolling to work. With AutoScroll on, I can't get it to start of at the center of the workable area. With...
Sekhat
2

votes
0

answer
2.6k

Views

Always show horizontal scrollbar in JavaFX-2 TableView

I have a TableView in JavaFx-2 that's inside a SplitPane and I would like to always show the horizontal scrollbar for the TableView. The TableView has multiple columns that are wider than the width of the entire table. When the TableView has at least one row filled, the scrollbar is displayed and I...
Joe W
2

votes
1

answer
3.8k

Views

How do I link and excel slicer to an excel slider (scroll bar)?

Excel 2010 have a PivotTable feature called a slicer. Slicers are nice. However, when your slicing on a column with tons of unique values, slicers suck. I want to know how to tie a slicer to a 'slider' (scroll bar), that way I can link a Macro to the Scroll bar that selects all Slicer values less th...
VISQL
2

votes
4

answer
1.2k

Views

Scrollbar track thinner than thumb

I am trying to style a scrollbar using css and I want to achieve the following look (ignore the background): In other words, I want the thumb to be thicker than the track, which I only want to be a line. I have researched this and found solutions for people wanting to do the opposite, that is a thum...
Paul
2

votes
1

answer
825

Views

Is it possible to have different styles for top and bottom WebKit scrollbar buttons?

I want to make a WebKit scrollbar that has different border-radius for top and bottom buttons, like this: This is the CSS at the moment for the buttons: ::-webkit-scrollbar-button { border-bottom-left-radius: 8.5px; border-bottom-right-radius: 8.5px; } but this makes both buttons have curved bottom...
Herossaumure
16

votes
2

answer
29.8k

Views

Styling an inner scrollbar like the Twitter conversation interface?

The scroll bar can be seen in the side-panel when you click on a tweet and the conversation linked to the tweet is long enough. How is the scroll bar created and styled?
Mattis
16

votes
2

answer
19.8k

Views

How to disable horizontal scroll bar in FlowLayoutPanel?

I have a FlowLayoutPanel and there are multiple controls on it. I only want to scroll in vertical direction. But when I set AutoScroll = true, I got both Vertical and Horizontal Scroll bars. How could I disable the horizontal scroll bar and only keep the vertical scroll bar working?
spspli
20

votes
4

answer
23.7k

Views

Python tkinter binding mousewheel to scrollbar

I have this scroll-able frame (frame inside canvas actually). import Tkinter as tk class Scrollbarframe(): def __init__(self, parent,xsize,ysize,xcod,ycod): def ScrollAll(event): canvas1.configure(scrollregion=canvas1.bbox('all'),width=xsize,height=ysize,bg='white') self.parent=parent self.frame1=tk...
Chris Aung
17

votes
2

answer
15.4k

Views

CSS display vertical scrollbar on pre tag

I am trying to get the vertical scrollbar to show in Chrome running latest version 21 when the content of a pre tag overflows. I can't get the vertical scrollbar to actually display though. See this jsFiddle: http://jsfiddle.net/justink101/2tJmC/ EDIT On Mac - OSX
Justin
17

votes
3

answer
12.7k

Views

How to make the horizontal scrollbar visible in DT::datatable

Using R shiny & DT package, I am creating certain tables. The number of columns vary as per user input & is not fixed. I have included the following code snippet to include a horizontal scrollbar so that when the number of columns is large, the user can scroll through the columns that are not direct...
Komal Rathi
1

votes
1

answer
4.7k

Views

CSS- background color doesn't fill to top of scrolling div

I have a div (sub area of page with scroll bar) that has some text, an image and a table. The background color defined for the div - does not fill the area to the top, the top arrow of the scroll bar is above the area filled with the background color (by about the width of one line). Adding a br at...
Rilien
17

votes
8

answer
26.6k

Views

How to calculate the width of the scroll bar?

Given a with a fixed width, I would like its 'active width' to be constant (in px). By 'active width' I mean the area where the text appears. When the vertical scroll bar doesn't appear, the 'active width' equals to width. But, when the vertical scroll bar appears, the 'active width' becomes small...
Misha Moroshko
1

votes
3

answer
24.6k

Views

Vertical & Horizontal scrollbars in a panel

Scenario: Put a panel on a form. Set the panel's BorderStyle to FixedSingle. (Just so you can see it when you run it.) Set the panel's AutoScroll=True Set the panel's Anchor to Top, Left, Bottom, Right Inside the panel, place any sizable control (button, picturebox or whatever). Adjust the control'...
PaulOTron2000
2

votes
1

answer
2.7k

Views

How to create list of checkboxes with scroll?

I'm trying this code: arrList = new List(); for (int j = 0; j < 20; j++) { CheckBox check = new CheckBox(); arrList.Add(check); } CheckBox[] cb = arrList.ToArray(); for (int i = 0; i < 20; i++) { cb[i].Text = 'sometext'; cb[i].Location = new System.Drawing.Point(10, 15 + i * 20); cb[i].BackColor = S...
Tahiaji
3

votes
1

answer
1.5k

Views

Expect an element to have a scroll

In one of our internal angular applications, there is a license text box displayed. Since there is a lot of text inside, the license box, represented as a div element, has a scroll. Question: How to test whether an element has a scroll or not in protractor? Here is an HTML representation of the ele...
alecxe
17

votes
7

answer
18.1k

Views

How to disable horizontal scrollbar for table panel in winforms

Hi I've a tablelayoutpanel and I'm binding controls to it dynamically. When the item count exceeds the height of panel obviously vertical scroll bar appearing there is no problem. But the same time horizontal scroll bar is also appearing even the items width is less than the width of panel. How can...
Nagu
17

votes
2

answer
43.9k

Views

How do I add scrollbars to a LinearLayout in Android?

How do I add scrollbars to a view in Android? I tried by adding android:scrollbars:'vertical' to the LinearLayout in my layout XML file but it is not working. I thought scrollbars were drawn by default in Android but it does not seem that way. It seems we have to draw it ourselves - how do I do th...
Angel
17

votes
6

answer
30.1k

Views

Hiding the scroll bar in WebView

I want to hide a vertical scroll bar in my WebView when I do not scroll the page. As for now, it is displayed always. I create a WebView programmatically, so my question is related to customization of the scroll bar programmatically. Thanks!
lomza
18

votes
1

answer
32.5k

Views

tkinter: using scrollbars on a canvas

I'm trying to make a canvas scrollable. However, once I try to set up scrollbars to work with the canvas, tkinter seems to completely ignore the dimensions I initially set for my canvas. I've tried packing them all in a frame, setting the canvas to fill the frame and then setting the frame size, but...
Robert Mastragostino
1

votes
2

answer
3.8k

Views

Bootstrap : how to place a scrollbar on a media-list

I am trying out the container-fluid and am unable to get a scrollbar on the vertical divide. ( i would like to place a scrollable list within that div) jsfiddle result : http://jsfiddle.net/wMHGQ/3/embedded/result/ I would like the media-list to be scrollable jsfiddle edit : http://jsfiddle.net/wMHG...
sunny
1

votes
3

answer
2.4k

Views

Change mouse wheel scroll lines?

I have a panel with autoscroll and I need to change the mouse scroll lines number I will mean this: (Mouse properties in spanish, sorry) But I will change it in my program, for my panel, obvius, not in the SO! PS: for example the Winamp media player have an option for that. I can't find info anywher...
ElektroStudios
18

votes
3

answer
9.9k

Views

How to set margin for Vertical Scrollbar from the right edge in ListView?

For Android Platform: I need to put margin on right side of the vertical scrollbar in listview (it is customized). Please see the attached image. Default scrollbar sticks to the extream right side of the listview. Need your hand. Thanks.
18

votes
4

answer
93.2k

Views

Deactivate or remove the scrollbar on HTML

I want to de-activate or remove the vertical scrollbar in an HTML page. How to do that ? Thanks.
Wassim AZIRAR
18

votes
5

answer
36.5k

Views

horizontal scrollbar for ul

For some reason, I can't prevent the UL and it's LI's from wrapping. I want the UL's width to be exactly the width of the LI's on one line (without wrapping) and if the UL becomes wider than the nav-div (800px), I want a scrollbar within the nav so I can scroll the LI. I tried pretty much anything w...
Michiel
1

votes
2

answer
8.5k

Views

Qt Scroll Area does not add in scroll bars

Hi guys I have to dynamically create push buttons depending on user inputs, therefore if user gives a large input number the widget containing the push buttons has to have the ability to scroll up and down. For this reason I am using QScrollArea. I generate the template in Qt designer and the UIC ge...
user1084113
3

votes
1

answer
53

Views

Restrict moving a x-axis scrollbar between two points

I created an image carousel which shows images there and by x-axis scrollbar, other images will be shown. It works correctly but I want to restrict scrollbar to move only within the viewport. I tried If clause but It had a bug and It was not good enough! I try to create a carousel-like Amazon but in...
Hamed
2

votes
2

answer
6.1k

Views

How to display scrollbar inside of treeview control

I have many nodes and some of them are under the screen's edge. Tho treeview is scrollable, there is no vertical scrollbar on the right. How can i show it?
0x49D1
2

votes
2

answer
2.1k

Views

Using overflow-y with height auto in css

I do have a div where I want a scrollbar (overflow-y: auto; height: 300px;) to appear if the text inside it is to big. However, my div already contains the property height:auto; (for some vertical alignment sake). Is there anyway I can keep height:auto and still having the scrollbar appearing when i...
Scipion

View additional questions