Questions tagged [rubber-band]
58 questions
2
votes
3 answers
Removal of OpenGL rubber banding artefacts
I'm working with some OpenGL code for scientific visualization and I'm having issues getting its rubber banding working on newer hardware. The code is drawing a "Zoom Window" over an existing scene with one corner of the "Zoom Window" at the stored…

mcdave
- 2,550
- 17
- 22
2
votes
4 answers
Python 3.6: how to install rubberband?
I want to use this function, and I'm trying to install rubberband using pip as the following: pip install rubberband
But, it raises the following error: "Failed building wheel for rubberband"
And I can't use Python 3.5 in my project. So, how to…

catfour
- 119
- 3
- 10
2
votes
0 answers
How to create a draggable with constraints and overdragging?
I am trying to create a draggable which is inside defined constraints (e.g.: inside a 300*200px container). However, in addition to that, I'd like to create some sort of rubber-band effect for overdragging the draggable. Until now, I did not find…

Anton D.
- 221
- 1
- 2
- 10
2
votes
1 answer
Can't disable ionic ios "rubber band" view
On Ionic 2.0.0-beta.37 and iOS 10.1.1 I can't disable rubber banding for my views.
I've this in config.xml

Devid Farinelli
- 7,514
- 9
- 42
- 73
2
votes
1 answer
How to enable/disable an attached behavior using a boolean property in the ViewModel
The title says what I am attempting to do. Here is what I have:
I am using this CodeProject contribution to attach a RubberBand behavior to a ListBox, so that I can drag-select using the mouse. I was able to modify it, so that I can disable it…

packoman
- 1,230
- 1
- 16
- 36
2
votes
0 answers
Qt5 QOpenglWidget How can I ensure the scene is updated immediately during mousemove envent?
I am currently working on a simple CAD-like drawing program using Qt and openGL.
What I am doing is that I maintain a list of objects which is on the canvas. The paintGL() function is just loop through the list and render the objects one by…

Jerry Ma
- 511
- 4
- 15
2
votes
3 answers
Add "Rubber Band" effect in android while changing background of application
I am working on the application in which:
User will have a control to change the background and text (multiples) by doing horizontal swipe for BG and vertical swipe for text. In this case, if I am changing BG, text should remain constant and if I am…

Swapnil Sonar
- 2,232
- 2
- 29
- 42
2
votes
0 answers
Rubber::Util.has_asset_pipeline? method missing
I think we updated rubber a few days back to 1.15.0 this problem now shows up in deploy.rb . Here is the block:
if Rubber::Util.has_asset_pipeline?
# load asset pipeline tasks, and reorder them to run after
# rubber:config so that database.yml/etc…

charleetm
- 916
- 1
- 12
- 26
1
vote
2 answers
resizeable rubberband with QT
I want to create a resizeable selection tool to select a part of an image with the mouse.
I want to accomplish this with QT, i have a working QRubberBand to create a basic selection.
Next step is to make that selection resizeable with the mouse.
So…

user458753
- 147
- 2
- 3
- 15
1
vote
0 answers
iScroll5 issue - Rubber band effect on mobile devices while scrolling
I am working on a mobile layout in which, below the website's headers there is a container which shows a strip of images. A user can pinch-zoom the images within the container. I'm using 'iScroll' library to handle the scroll and zoom…

Danish Aziz
- 475
- 5
- 14
1
vote
1 answer
How to draw transparent rubberband on OpenGL scene
i'm using OpenGL for showing grabbed frames from video camera with texture mapping. There is no problem at all but i have to select some region of the grabbed frame then i have to zoom it, first of all i can't draw a Rubber rectangle it must be…

hansen
- 55
- 1
- 1
- 5
1
vote
1 answer
How to constrain a QRubberBand within a QLabel?
I am building a Qt5 application that allows a user to draw a rubberband with his mouse over an image, to select certain area of the image for further processing.
I got my code to only allow the user to start drawing the rubberband, by subclassing a…

LemuelKL
- 11
- 6
1
vote
1 answer
Scroll when rubber band reaches edge of panel
I have a rubber band that captures the cursor. How can I scroll a panel if the cursor reaches the edge of the panel? Let me know if you need more info, I think it explains itself.

TimCodes.NET
- 4,601
- 1
- 25
- 36
1
vote
1 answer
Forcing QRubberBand to a specific aspect ratio
I have a resizable rubber-band with drag handles that is acting funny. I want to force it to a 4x3 selection rectangle. It works, but there are clipping artefacts, and the grips don't stay in the corners.
Code:
class…

uMinded
- 595
- 1
- 9
- 21
1
vote
0 answers
iOS Web App: disable rubber band scrolling for position: fixed elements
I am developing a web app and running into a problem on iOS: at the bottom of the page, when I scroll down further, the grey bar with the settings icon is moving up with the rest of the page, even though it's "position: fixed". I need it to stay in…

Tonald Drump
- 1,227
- 1
- 19
- 32