That would be nice--but how would one dock the TopComponent again if there is 
no tab to right-click or drag?

On MacOS, there's a "Window.style" client property that can be set to "small", 
like this:

rootPane.putClientProperty("Window.style", "small");

(See 
https://developer.apple.com/library/content/technotes/tn2007/tn2196.html#WINDOWS
 )

This makes the title bar take up much less space, and omits the window title, 
while still allowing the window to be dragged by its frame, maximized, and 
such. I use it in my own NetBeans app, for a "filter" widget, seen here: 
https://pasteboard.co/HjFRlqT.png

Unfortunately, no equivalent exists on Windows. It would have to be emulated 
with a custom-painted undecorated window (which would also have to implement 
drag-to-resize logic).

-- Eirik

On 5/4/18, 1:34 PM, "Emilian Bold" 
<emilian.b...@protonmail.ch<mailto:emilian.b...@protonmail.ch>> wrote:

I think Chris is mentioning that a floating (editor-) topcomponent still has a 
tab with the topcomponent title, even if it's the single topcomponent. So, what 
Chris wants is that if you make the Diff topcomponent floating, only the 
operating system frame has the title / icon and there's no other tab from the 
Windows System API.

I'm actually wondering myself why there is no Windows System flag for this 
thing... it seems an obvious need for some topcomponens eg. floating palette 
window.

--emi

------- Original Message -------

On 4 May 2018 6:39 PM, Matthias Bläsing 
<mblaes...@doppel-helix.eu<mailto:mblaes...@doppel-helix.eu>> wrote:

Hi,
Am Freitag, den 04.05.2018, 14:42 +0000 schrieb Eirik Bakke:
> On the other hand, I think the Diff panel should remain a regular
>
> TopComponent--those can be undocked, full-screened, moved to different
>
> monitors, and so on. Making it into a Dialog is a step backwards, in my
>
> opinion. But the internal layout of the diff panel could certainly be
>
> rearranged to save some space.
I aggree with this assessment. Modifying the diff view to be a dialog
would be a step backwards.
Greetings
Matthias
--------------------------------------------------------------------------------------------------------------------------
To unsubscribe, e-mail: 
dev-unsubscr...@netbeans.incubator.apache.org<mailto:dev-unsubscr...@netbeans.incubator.apache.org>
For additional commands, e-mail: 
dev-h...@netbeans.incubator.apache.org<mailto:dev-h...@netbeans.incubator.apache.org>
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


---------------------------------------------------------------------
To unsubscribe, e-mail: 
dev-unsubscr...@netbeans.incubator.apache.org<mailto:dev-unsubscr...@netbeans.incubator.apache.org>
For additional commands, e-mail: 
dev-h...@netbeans.incubator.apache.org<mailto:dev-h...@netbeans.incubator.apache.org>

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Reply via email to