You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/12/21 22:21:10 UTC

[GitHub] [netbeans] mbien commented on a diff in pull request #4948: enable "sort document list by project" by default.

mbien commented on code in PR #4948:
URL: https://github.com/apache/netbeans/pull/4948#discussion_r1054886327


##########
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:
   @neilcsmith-net @eirikbakke  forgot to mention that I did swap the case ops as instructed.
   
   It seems to have the desired effect.



-- 
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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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