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

(-)core/src/org/netbeans/core/windows/StatusLine.java (-1 / +6 lines)
Lines 80-87 Link Here
80
    */
80
    */
81
    public Dimension getPreferredSize () {
81
    public Dimension getPreferredSize () {
82
        Dimension d = super.getPreferredSize ();
82
        Dimension d = super.getPreferredSize ();
83
        if (! Boolean.getBoolean ("netbeans.windows.small_main_window"))
83
        if (Boolean.getBoolean("netbeans.windows.small_main_window")) { // NOI18N
84
            // #19910: make sure GBL does not try to squeeze out menu labels.
85
            // See MainWindow.StatusMenuBar.
86
            d.width = Math.min(d.width, 100);
87
        } else {
84
            d.width = 1024;
88
            d.width = 1024;
89
        }
85
        return d;
90
        return d;
86
    }
91
    }
87
92

Return to bug 19910