pkt1583 / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 0 forks source link

Window is not properly draggable #366

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I created a class which extends from Window 

e.g.
public class myWindow extends Window
{
    public myWindow()
    {
     setTitle("Window Panel");  
         setIconCls("paste-icon");  
         setMaximizable(true);  
         setResizable(true);  
         setLayout(new FitLayout());  
         setWidth(200);  
         setModal(false);  
        show();

        Panel p = new Panel();
        p.add(new Label("Hi, I am in the Window"));

        add(p);
}}

if you now take this class and add it some where it
1) not applies the given size, it will just size to.... very large (800-100
I would guess)

2) it is not properly draggable, if you drag it it works but not really good.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
I am using Eclipse with jdk1.6.0_10 with
gwtext-2.0.4 and
ext-2.0.2

on Windows Vista

Please provide any additional information below.

additional info: please help me, because I really need it for my job and
apologies for my bad english.

Original issue reported on code.google.com by psche...@gmx.at on 3 Jul 2008 at 4:30

GoogleCodeExporter commented 8 years ago
Hej guys,

I figured out by myself why it not works properly.

If you ADD a window to a panel (what I guess shouldn't be done) it not works as 
it
should.

If you used it as it is supposed to be used (creatign it, NOT adding it 
somewhere,
and just use show();) it works perfect!!

Original comment by psche...@gmx.at on 4 Jul 2008 at 8:11

GoogleCodeExporter commented 8 years ago

Original comment by abhijeet...@gmail.com on 20 Aug 2008 at 11:15