pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Piotr Kołaczkowski <pkola...@gmail.com>
Subject Re: Disappearing Palettes
Date Tue, 13 Mar 2012 14:21:58 GMT
I understand it is tied to its owner's active state, and it is exactly
what I'm doing.
The parent of the palette *is* the main window - it is visible and active.

The window tree is like that:

main window
  +--- palette 1
  +--- palette 2
  +--- some other frame

When I close the other frame, the palettes disappear. They are *not*
tied to the other frame.


2012/3/13 Sandro Martini <sandro.martini@gmail.com>:
> Hi Piotr,
> from what I can see on Palette:
> A tool palette is an auxiliary window whose visibility is tied to its
> owner's active state
> so the behaviour you see should be right, at least if the owner you
> close and reopen is that right :-) ...
> Some more info: the related class is Palette under the package
> org.apache.pivot.wtk, then there is the related skin class.
> Under the Tests subproject you can find WindowTest, a runnable test
> application using Palette, could help.
>>How to make them stay open whatever new window / frame / dialog gets open?
> Have you tried using as parent your main window ? I'm not sure this
> can works (could be by design), Greg can say more on this ... but you
> can try and tell us as a starting point.
>>And another question - is there a simple way to make the palette title text use a
different, bigger font?
> I have to look inside, but could be a missing feature in its skin,
> let's update on this.
> Bye

View raw message