Comments (7)
Fred Sauer was quick to point out that you need to add 'display:inline' to the
style
of the objects(here Labels) for them to take on the left right behavior. Which
means
that it might not be considered a bug, although the display behavior I still
think is
incorrect (as html goes anyway).
Original comment by [email protected]
on 18 Apr 2007 at 7:28
from gwt-dnd.
the behavior of elements spilling beyond the border of it's intended panel
makes drag
and drop unreliable.
Original comment by [email protected]
on 18 Apr 2007 at 7:52
from gwt-dnd.
I believe that inline works for making things go write to left, but you lose the
"preveiw box" of the element when it's moused over area's of the list. (the gap
that
is created to show you where the element will be moved to)
In an earlier comment I stated DND was unreliable, what I meant to say was that
the
location(index) of the final position becomes unreliable with the use of
"display:inline"
So I guess I'm back to requesting a fix for the solution with the help of
changing
the style to 'display:inline'
Original comment by [email protected]
on 18 Apr 2007 at 8:14
from gwt-dnd.
increasing the size of the object does help "min-height: NNpx; " but I think
that
padding the cell would also help it. still behavour isn't correct, no "preview"
spot,
and elements are "falling".
this art shows what I mean:
<start art>
[ 1 ] [ 2 ] [dragging object]
[ 3 ]
<end art>
Here 3 is "falling"
after releasing the mouse the objects snap back
<start art>
[ 1 ] [ 2 ] [dragged object] [ 3 ]
<end art>
Original comment by [email protected]
on 18 Apr 2007 at 8:24
from gwt-dnd.
Fixed in r192
Note: You will still need "display: inline" on the widgets in your flow panel
Original comment by fredsa
on 19 Apr 2007 at 5:08
- Changed state: Fixed
from gwt-dnd.
it gets better in r193 :)
Original comment by fredsa
on 19 Apr 2007 at 10:57
from gwt-dnd.
Original comment by fredsa
on 23 Aug 2007 at 3:38
- Added labels: Milestone-gwt-dnd-1.0
from gwt-dnd.
Related Issues (20)
- gwt-dnd-3.2.3 not works on gwt 2.6 HOT 1
- Children widgets of drag handle also handle mouse down event. HOT 1
- Forcing IE6 / IE7 permutation using extend-property tag causes compilation error HOT 3
- When scaling the body with CSS, the mouseX and mouseY calculations are wrong. HOT 1
- Rebind result 'com.allen_sauer.gwt.dnd.client.util.impl.DOMUtilImpl' cannot be abstract HOT 2
- VerticalPanelDropController index of Positioner is alway -1
- IE loading css problem
- Patch for /DragDrop/src/com/allen_sauer/gwt/dnd/client/util/gwt-dnd.css HOT 1
- Warning rebinding DragClientBundle - encountered '=' was expecting... HOT 3
- Warning when parsing CSS HOT 2
- on chrome on Linux the page gets selected on drag
- while dragging, the droppable location is not inserted. HOT 1
- GWT DnD Demo is not working properly on Android 5.1
- Error in AbstractInsertPanelDropController
- Pushing a new version to Maven
- Drag & Drop of <div> elements inside a text area or contenteditable HOT 1
- NPE in PickupDragController.dragEnd() with null context.dropController
- Unable to parse JavaScript GWT 2.7.0
- Rebinding com.allen_sauer.gwt.dnd.client.util.DragClientBundle Warning
- Chrome drag end event cancelled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt-dnd.