2

I am migrating RCP app to Eclipse 4 . And I'm stuck with problem: perspective bar has really ugly bold borders, I can't understand why, frankly no idea.

If I disable perspective bar through IWorkbenchWindowConfigurer.setShowPerspectiveBar(false) there are no ugly borders. Spent 2 days googling without any results.

enter image description here

Amit Verma
  • 40,709
  • 21
  • 93
  • 115
szolo
  • 247
  • 1
  • 4
  • 15

1 Answers1

3

Related question: Kepler RCP CoolBar + PerspectiveBar appearance

You will have to play around with CSS. I would start from adding a simple CSS file to the RCP App, and changing the color for the eclipse-perspective-keyline-color. See an example of a theme here (line 76).

Other possible solution: Hide the whole perspective switcher.

configurer.setShowPerspectiveBar(false);

Community
  • 1
  • 1
Georgian
  • 8,795
  • 8
  • 46
  • 87
  • Thanks for your answer! Did you figure out how to customize css for RCP app to change this thing? – szolo Mar 14 '14 at 22:12
  • @Steve Actually no, I didn't bother. I just hid the whole damn thing. I modified the above answer and added directions to the CSS config of the app. – Georgian Mar 15 '14 at 00:49