Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to set the style of workbench by css(I did a practice but i don't know how to set the backgraound-color of MApplication and menu)
How to set the style of workbench by css [message #1868391] Thu, 18 July 2024 08:46 Go to next message
Tadey oric is currently offline Tadey oricFriend
Messages: 3
Registered: July 2024
Junior Member
I'm a beginner, and I'm encountering an issue while learning Eclipse CSS.I finished reading the CSS tutorial and did an exercise related to it. However, some issues have arisen, and I'm not sure if it's my mistake or if it's simply not achievable.
When I tried to set a background color, I found that I couldn't change the background color of the menu bar and the topmost window. This prevents me from customizing colors as I'd like. I'm unsure how to resolve this. Also, how can I style the menu bar, such as adjusting line height and font size? P.S. I'm using Eclipse 4.
I appreciate any guidance or suggestions you can offer regarding my questions. Please feel free to provide feedback or share your insights on how I can overcome these challenges. Your expertise is invaluable, and I look forward to learning from your experience. Thank you in advance for your help!
Re: How to set the style of workbench by css [message #1868904 is a reply to message #1868391] Thu, 25 July 2024 06:06 Go to previous messageGo to next message
Tadey oric is currently offline Tadey oricFriend
Messages: 3
Registered: July 2024
Junior Member
Maybe the menu cannot set its style by css, and i set a css spy so that i can see the style in differents widges. But i found it has not the css of menu. So maybe the menu cannot be set by css.
Re: How to set the style of workbench by css [message #1868907 is a reply to message #1868904] Thu, 25 July 2024 06:08 Go to previous message
Tadey oric is currently offline Tadey oricFriend
Messages: 3
Registered: July 2024
Junior Member
But if you want to set the style of menu, you can set a tool control as a continer of your menu, and then you can set the style by code of SWT and JFace. Maybe this way is usefyl but i also meet many difficulties which i cannot solve.
Previous Topic:Remote Debugging Eclipse RCP
Next Topic:Remove Perspective from the Perspective Toolbar
Goto Forum:
  


Current Time: Mon Oct 07 05:02:39 GMT 2024

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

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

Back to the top