mbien commented on code in PR #4948:
URL: https://github.com/apache/netbeans/pull/4948#discussion_r1125580132
##########
platform/core.multitabs/src/org/netbeans/core/multitabs/impl/TabDataRenderer.java:
##########
@@ -238,10 +238,10 @@ public void paint( Graphics g ) {
switch (tabsLocation) {
default:
case JTabbedPane.TOP:
- g.fillRect(0, rect.height - underlineHeight,
rect.width, underlineHeight);
+ g.fillRect(0, 0, rect.width, underlineHeight);
break;
case JTabbedPane.BOTTOM:
- g.fillRect(0, 0, rect.width, underlineHeight);
+ g.fillRect(0, rect.height - underlineHeight,
rect.width, underlineHeight);
break;
Review Comment:
implemented it finally. When the tab is on the bottom it is rendered on the
bottom if `underlineAtTop` is set since everything is bottom up.
--
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