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 41827
Collapse All | Expand All

(-)src/org/netbeans/modules/tasklist/docscan/SourceTasksView.java (+5 lines)
Lines 856-861 Link Here
856
        if (button.getBorder() instanceof CompoundBorder) { // from BasicLookAndFeel
856
        if (button.getBorder() instanceof CompoundBorder) { // from BasicLookAndFeel
857
            Dimension pref = button.getPreferredSize();
857
            Dimension pref = button.getPreferredSize();
858
            pref.height += TOOLBAR_HEIGHT_ADJUSTMENT;
858
            pref.height += TOOLBAR_HEIGHT_ADJUSTMENT;
859
860
            // XXX #41827 workaround w2k, that adds eclipsis (...) insted of actual text
861
            if ("Windows".equals(UIManager.getLookAndFeel().getID())) {  // NOI18N
862
                pref.width += 9;
863
            }
859
            button.setPreferredSize(pref);
864
            button.setPreferredSize(pref);
860
        }
865
        }
861
866

Return to bug 41827