s4gh opened a new pull request, #8893:
URL: https://github.com/apache/netbeans/pull/8893

   Be able to setup FlatFal styling for code editor toolbar separately from 
other toolbars in application.
   Main purpose - provide more flexibility in configuring FlatLaf style for 
NetBeans.
   
   What this change does - it adds FlatLaf styleClass property for code editor 
toolbar. This allows to set FlatLaf style for this tollbar separately from 
other toolbars in the application.
   
   Below are screenshots with example usage of this property. By settings 
   ```[style].nb-editor-toolbar   = background: #FFFFFF``` in 
FlatLaf.properties I can make background for code editor toolbar white while 
keeping other toolbars unchanged. In combination with other FlatLaf properties 
e.g.
   ```
   Tree.background=#F2F2F2
   ScrollBar.track=#F2F2F2
   ComboBox.background=#F2F2F2
   EditorTab.background=#F2F2F2
   EditorTab.activeBackground=#F2F2F2
   EditorTab.selectedBackground = #FFFFFF
   ViewTab.selectedBackground = #F2F2F2
   ```
   I can style NetBeans like it is displayed on screenshot. What I want to 
achieve in this example is to use white color for "light" LAF only for code 
editor area. While keeping all other panels (see screenshots) light grey.
   <img width="2498" height="1508" alt="NetBeans custom LADF properties 1" 
src="https://github.com/user-attachments/assets/ed95248a-f832-444a-b4d8-7d4b79006142";
 />
   
   <img width="1682" height="1052" alt="NetBeans custom LADF properties 2" 
src="https://github.com/user-attachments/assets/08f7823b-2e75-4b47-beaf-8cc00545a7c2";
 />
   
   
   This PR is not about all these changes you see on screenshot. PR does not 
change any default look and feel of NetBeans. PR is about to let people to 
apply their own styles in which editor toolbar can be styled differently from 
other toolbars in the application.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to