Hi. I have a drag and drop wrapper in my project but when i put it to my main layout it’s coming with extra 10-12px height and giving this to my main layout. So there are scrolls that i don’t want vertical and horizontal.
Btw, vaadin forum is not helpful at all. That’s my second question and not even any help on the other.I hope you will help me out here…
could you provide some example code to reproduce the issue? I know I use the dnd wrapper quite extensively in multiple projects and have not seen such a height issue. Which vaadin version are you using?
In general, providing a code sample and as much detail as possible improves your chances of getting an answer.
Thanks for your concern…
I slightly solved the issue as mentioned here. http://dev.vaadin.com/ticket/6880
My vaadin version is 6.8.1 and can’t update it, because it’s really a big project.
Now i’ve got an another problem about drag drop…
At drop event i’m adding dragged pictures to my DnDWrapper which is inside a horizontalSplitPanel. I mean at left side i’m dragging pictures to right side and i’m getting a horizontal scrollbar inside the second container of horizontalSplitPanel.
Here’s a picture…
It’s so annoying…As you see there i dropped an image from left to right…Before it there wasn’t a scrollbar there.
Here’s the code that i used…
final GridLayout rightSummerPicturesGrid = new GridLayout( 3, 2 );
rightSummerPicturesGrid.setSizeFull();
rightSummerPicturesGrid.setSpacing( true );
rightSummerPicturesGrid.setMargin( false, false, false, true );
final GridLayout leftSummerPicturesGrid = new GridLayout( 3, 2 );
leftSummerPicturesGrid.setSizeFull();
leftSummerPicturesGrid.setSpacing( true );
leftSummerPicturesGrid.setMargin( false, false, false, true );