Questions tagged [movable]

52 questions
0
votes
1 answer

How can I have an html element stay visible on the page within the bounds of another html object?

I have a list of reports on a page. I currently have 4 large buttons on the right to view, add, edit or delete a button. We've had complaints about people having to scroll back up to click on the buttons once they've selected a report because they…
Smartie
  • 840
  • 1
  • 9
  • 16
0
votes
1 answer

Making a setundecorated, tabbedpane movable

I'm making a project for school and having a little problem. I used frames with setUndecorated and added code to make it movable using this: Making a java swing frame movable and setUndecorated It works fine except for one frame where I am using a…
Azcrod
  • 1
  • 2
0
votes
1 answer

libgdx dragging & placing actors

I'm stuck on making widgets grab-able / movable & I was hoping someone here on stack could point me in the direction of achieving this. I Was originally thinking using movement from com.badlogic.gdx.scene.scene2d.ui.Window & was curious if there was…
Ryan
  • 83
  • 2
  • 9
0
votes
1 answer

removable(draggable) and replaceable DIV

I want to create some
s. I want to be able to move and replace these Divs. I think I can use jQuery, and I found this : but this is not exactly what I want. i…
ammargraph
  • 11
  • 4
0
votes
1 answer

Dynamicly Add Image Onto Moveable Canvas

http://jsfiddle.net/ZQ99r/ I'm trying to add an image from a textbox adjust the width and height via textbox and when I hit confirm to add those values into the new canvas. I thought I knew what I was doing, but clearly I don't getting annoyed from…
Michael Schwartz
  • 8,153
  • 14
  • 81
  • 144
0
votes
1 answer

Boost serialization - Serialize noncopyable but movable objects?

Is it possible somehow? It doesnt work out of the box since it tries to copy objects when the object gets unserialized Update 1: These objects are noncopyable just because they allocate memory, once it is allocated I dont see any reason to copy when…
kreuzerkrieg
  • 3,009
  • 3
  • 28
  • 59
-1
votes
1 answer

How to create a movable button which doesn't move out of the screen

I'm using this code to move a button in the screen but when I reach the sides it is moving out of the screens. private float mPrezX, mPrevY; private static final int MAX_CLICK_DURATION = 200; private long startClickTime; @Override …
Sourav Roy
  • 323
  • 4
  • 12
1 2 3
4