window is moved beyond the screen

View: New views
2 Messages — Rating Filter:   Alert me  

window is moved beyond the screen

by Shankar_java :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have a maincontainer added to the root. To the maincontainer i have added a menubar, toolbar and window container. When a button in the menubar / toolbar is clicked, a mainwindow opens in the window container. Inside the mainwindow i have a button to open a childwindow. This childwindow is movable and if i move it beyond the viewport, the maincontainer is moved left.

What do i need to do to make the child window movable but not beyond the maincontainer?

-Shankar

Re: window is moved beyond the screen

by Matthew Gregory :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had this same problem. I've created a scrollable desktop that I am
planning on making a contrib. There are a few problems with it
currently, I'll see if I get time to fix these, if not I'll commit as is.

To stop the problems you are getting though you could just set
allowGrowX and allowGrowY on the desktop to false

Shankar_java wrote:

> Hi,
>
> I have a maincontainer added to the root. To the maincontainer i have added
> a menubar, toolbar and window container. When a button in the menubar /
> toolbar is clicked, a mainwindow opens in the window container. Inside the
> mainwindow i have a button to open a childwindow. This childwindow is
> movable and if i move it beyond the viewport, the maincontainer is moved
> left.
>
> What do i need to do to make the child window movable but not beyond the
> maincontainer?
>
> -Shankar


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@...
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel