> Closing the frame would dock the contained TopComponent "back".
Ah, not a bad idea! I assume dragging an additional tab into the frame would make tabs appear again. On 5/9/18, 6:59 PM, "Emilian Bold" <emilian.b...@protonmail.ch> wrote: >> That would be nice--but how would one dock the TopComponent again if >>there is no tab to right-click or drag? > >Closing the frame would dock the contained TopComponent "back". > >> Personally I don't see a reason to change the way undocked top >> compoents are displayed. I work with netbeans and so I'm either on a >> large enough laptop screen (15,4 inch) or a dual head setup. In both >> cases, the overhead for the tab is neglectable. > >This might be a tricky thing to implement. > >Still -- the whole purpose of this thread is to get rid of all these >negligible components that keep eating vertical space and leave our users >see 10 lines for diffs. The classical 80x25 terminal has better >ergonomics... > >Tangentially, I also speculate users generally have a single undocked >topcomponent floating which means that title tab is redundant. > >--emi > >------- Original Message ------- > >On 5 May 2018 12:42 AM, Eirik Bakke <eba...@ultorg.com> wrote: > >> 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.bold@protonmail.chmailto: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 >><mblaesing@doppel-helix.eumailto: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-unsubscribe@netbeans.incubator.apache.orgmailto:dev-unsubscribe@netbe >>ans.incubator.apache.org >> >> For additional commands, e-mail: >>dev-help@netbeans.incubator.apache.orgmailto:dev-help@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-unsubscribe@netbeans.incubator.apache.orgmailto:dev-unsubscribe@netbe >>ans.incubator.apache.org >> >> For additional commands, e-mail: >>dev-help@netbeans.incubator.apache.orgmailto:dev-help@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 >For additional commands, e-mail: 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 For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists