/** * {@inheritDoc} <p> * * Overridden to adjust for a reasonable minimum height. Done to fix Issue 334-swingx, * which actually is a core issue misbehaving in returning a zero height * if the first column has no text. * * @see #getPreferredSize(Dimension) * @see #getMinimumHeight(int). * */ @Override public Dimension getPreferredSize() { Dimension pref = super.getPreferredSize(); pref = getPreferredSize(pref); pref.height = getMinimumHeight(pref.height); return pref; }
/** * {@inheritDoc} <p> * * Overridden to adjust for a reasonable minimum height. Done to fix Issue 334-swingx, * which actually is a core issue misbehaving in returning a zero height * if the first column has no text. * * @see #getPreferredSize(Dimension) * @see #getMinimumHeight(int). * */ @Override public Dimension getPreferredSize() { Dimension pref = super.getPreferredSize(); pref = getPreferredSize(pref); pref.height = getMinimumHeight(pref.height); return pref; }
/** * {@inheritDoc} <p> * * Overridden to adjust for a reasonable minimum height. Done to fix Issue 334-swingx, * which actually is a core issue misbehaving in returning a zero height * if the first column has no text. * * @see #getPreferredSize(Dimension) * @see #getMinimumHeight(int). * */ @Override public Dimension getPreferredSize() { Dimension pref = super.getPreferredSize(); pref = getPreferredSize(pref); pref.height = getMinimumHeight(pref.height); return pref; }
/** * {@inheritDoc} <p> * * Overridden to adjust for a reasonable minimum height. Done to fix Issue 334-swingx, * which actually is a core issue misbehaving in returning a zero height * if the first column has no text. * * @see #getPreferredSize(Dimension) * @see #getMinimumHeight(int). * */ @Override public Dimension getPreferredSize() { Dimension pref = super.getPreferredSize(); pref = getPreferredSize(pref); pref.height = getMinimumHeight(pref.height); return pref; }
/** * {@inheritDoc} <p> * * Overridden to adjust for a reasonable minimum height. Done to fix Issue 334-swingx, * which actually is a core issue misbehaving in returning a zero height * if the first column has no text. * * @see #getPreferredSize(Dimension) * @see #getMinimumHeight(int). * */ @Override public Dimension getPreferredSize() { Dimension pref = super.getPreferredSize(); pref = getPreferredSize(pref); pref.height = getMinimumHeight(pref.height); return pref; }