Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » close panel window with one click
close panel window with one click [message #1455928] Wed, 29 October 2014 22:38 Go to next message
stk eg is currently offline stk egFriend
Messages: 2
Registered: October 2014
Junior Member
i'm using kepler c++/cdt.

if i want to close a tab, i have to click on the panel, then that gets activated/focused, and then i can click to close the tab.

for example, i'm in the outline panel and then i decide i want to close an editor tab, but i have to activate the editor first and then i can close. so in essence, it's like i have to double click to close tabs.

how can i close tabs with one click? thanks.



Re: close panel window with one click [message #1456531 is a reply to message #1455928] Thu, 30 October 2014 13:04 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
What operating system are you using? It definitely doesn't do this on Windows or OS X in any version I've used (which is quite a few).


[Updated on: Thu, 30 October 2014 13:04]

Report message to a moderator

Re: close panel window with one click [message #1456798 is a reply to message #1456531] Thu, 30 October 2014 18:50 Go to previous message
stk eg is currently offline stk egFriend
Messages: 2
Registered: October 2014
Junior Member
thanks for the reply. i couldn't delete this message before it got posted since it was being moderated.

basically it was because of an issue with the dark theme.

here is the fix courtesy of ykyri on github:

Quote:

I have a workaround for this issue. There is probably a bug in .CSS. I doesn't familiar with CSS for SWT but I found that if you remove just one line (for moonrise-ui.css lines # 430-438)

CTabFolder Tree, CTabFolder Canvas {
        background-color: #2F2F2F;
        color: #CCC;
    }
    .MPartStack.active Tree, /* remove this line */
    .MPartStack.active CTabFolder Canvas {
        background-color: #262626;
        color: #CCC;
    }


it'll solve doubleclick problem.
Hope this'll help.



i can't insert links to the solution to this problem since i have fewer than 5 messages. just search for a post on this forum titled "Extra mouse click required to switch focus in Luna"

[Updated on: Thu, 30 October 2014 18:51]

Report message to a moderator

Previous Topic:Customize Perspective Not Working
Next Topic:WindowBuilder Plug-in
Goto Forum:
  


Current Time: Mon Oct 26 22:42:36 GMT 2020

Powered by FUDForum. Page generated in 0.02554 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top