As you are aware, the introduction of multiple displays happened relatively recently. I don't think anyone has found time to consider the new opportunities that it might bring. I'm sure any suggestions that you come up with would be welcomed.
Based on my earlier hacking, it looks to be fairly simple to wrap a call to DesktopApplicationContext#createDisplay(...) so that it also takes a Component parameter. That Component could be the content of a maximized Pivot Window, which in turn would fill the newly created Display. A call to DesktopApplicationContext#sizeHostToFit() would then tidy things up. That could then be used to handle your example of opening a FileBrowser in a new Display. Chris On 4 February 2011 21:07, lello <[email protected]> wrote: > > Thanks Sandro, I knew about multiple displays. That is why a new display > instance might be used to have a tooltip outside the main application > window. > My last post was more about pivot architecture. For example, a FileBrowser > can only be displayed inside a window, but since in pivot 2.0 we can have > multiple displays is it possible to remove this limit and create an > instance > of a FileBrowser in a new display? I am pretty sure this can be done > easily, > not so sure the same applies to a component as a Tooltip. > > -- > View this message in context: > http://apache-pivot-users.399431.n3.nabble.com/tooltip-not-in-main-window-tp2396170p2424396.html > Sent from the Apache Pivot - Users mailing list archive at Nabble.com. >
