This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 72103
Collapse All | Expand All

(-)core/windows/src/org/netbeans/core/windows/view/ui/tabcontrol/TabbedAdapter.java (+6 lines)
Line 179 Link Here
179
            if (icon != null && System.getProperty("no.set.rowheight") != null) {
180
            // mkleint just in special mode when we might get bigger sized icons.
181
                if (icon.getHeight(null) > 16) {
182
                    icon = icon.getScaledInstance(-1, 16, Image.SCALE_DEFAULT);
183
                }
184
            }
(-)openide/explorer/src/org/openide/explorer/view/NodeRenderer.java (-2 / +5 lines)
Line 180 Link Here
180
        if (icon.getIconWidth() > 0) {
180
181
--
181
        if (icon.getIconWidth() > 24 && System.getProperty("no.set.rowheight") != null) {
182
          // mkleint just in special mode when we might get bigger sized icons.
183
            ren.setIconTextGap(4);
184
        } else if (icon.getIconWidth() > 0) {
(-)openide/explorer/src/org/openide/explorer/view/TreeView.java (-11 / +12 lines)
Lines 1520-1528 Link Here
1520
            if (firstPaint) {
1520
            // mkleint just in special mode when we might get bigger sized icons we want to disable this..
1521
                calcRowHeight(g);
1521
            if (System.getProperty("no.set.rowheight") == null) {
1522
1522
                if (firstPaint) {
1523
                //This will generate a repaint, so don't bother continuing with super.paint()
1523
                    calcRowHeight(g);
1524
                //but do paint the background color so it doesn't paint gray the first time
1524
                    
1525
                g.setColor(getBackground());
1525
                    //This will generate a repaint, so don't bother continuing with super.paint()
1526
                g.fillRect(0, 0, getWidth(), getHeight());
1526
                    //but do paint the background color so it doesn't paint gray the first time
1527
1527
                    g.setColor(getBackground());
1528
                return;
1528
                    g.fillRect(0, 0, getWidth(), getHeight());
1529
--
1529
                    
1530
                    return;
1531
                }
Line 1530 Link Here
1530
(-)openide/util/src/org/openide/util/IconManager.java (-2 / +4 lines)
Line 365 Link Here
365
        // mkleint just in special mode when we might get bigger sized icons.
366
        boolean activeMode = System.getProperty("no.set.rowheight") != null;
367
        int newx = activeMode && x + image2.getWidth(null) < w ? w - image2.getWidth(null) : x;
Line 366 Link Here
366
        g.drawImage(image2, x, y, null);
369
        g.drawImage(image2, newx, y, null);
367
--

Return to bug 72103