Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » DnD doesn't work when tab-position of MPartStack is bottom
DnD doesn't work when tab-position of MPartStack is bottom [message #1386967] Mon, 23 June 2014 10:06 Go to next message
Marina Knieling is currently offline Marina KnielingFriend
Messages: 83
Registered: February 2013
Member
Hey guys,

in my application I have a PartStack with tabs at the bottom. I added a
tag to that PartStack and set the CSS property swt-tab-position: bottom
in my CSS for the PartStack with the special tag.

I also have the DnDAddon added to my application model.

When I now try to move one of the parts in that PartStack out of that
Stack, everything works fine. Splitting is also no problem. But when I
try to move a part back in the stack, this is not possible and the red
forbidden sign is shown.

You can try this on your own when you set this CSS property in your own
eclipse instance. Open the CSS Scratchpad and enter the following CSS code:

..MPartStack{
swt-tab-position: bottom;
}

Resize the stacks in order to refresh the parts and try to move one of
the parts into another stack. I use eclipse Kepler.

Is this a bug or is there something in the DnDAddon or SWT or ... that
makes it impossible to move parts between Stacks when the tab position
is set to bottom?

Marina
Re: DnD doesn't work when tab-position of MPartStack is bottom [message #1398528 is a reply to message #1386967] Fri, 11 July 2014 07:43 Go to previous message
Marina Knieling is currently offline Marina KnielingFriend
Messages: 83
Registered: February 2013
Member
No one any idea on this? I don't want to change my layout to have two
rows of tabs under each other only because DnD doesn't work when tabs
are positioned at the bottom.

Please give some hints on where to look for the reason of this behavior.

On 23.06.2014 12:06, Marina Knieling wrote:
> Hey guys,
>
> in my application I have a PartStack with tabs at the bottom. I added a
> tag to that PartStack and set the CSS property swt-tab-position: bottom
> in my CSS for the PartStack with the special tag.
>
> I also have the DnDAddon added to my application model.
>
> When I now try to move one of the parts in that PartStack out of that
> Stack, everything works fine. Splitting is also no problem. But when I
> try to move a part back in the stack, this is not possible and the red
> forbidden sign is shown.
>
> You can try this on your own when you set this CSS property in your own
> eclipse instance. Open the CSS Scratchpad and enter the following CSS code:
>
> .MPartStack{
> swt-tab-position: bottom;
> }
>
> Resize the stacks in order to refresh the parts and try to move one of
> the parts into another stack. I use eclipse Kepler.
>
> Is this a bug or is there something in the DnDAddon or SWT or ... that
> makes it impossible to move parts between Stacks when the tab position
> is set to bottom?
>
> Marina
Previous Topic:LocationManager in Eclipse 4
Next Topic:Building feature with tycho and bundle importing javafx packages
Goto Forum:
  


Current Time: Sat Apr 20 04:11:43 GMT 2024

Powered by FUDForum. Page generated in 0.02833 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top