This is to make sure that when the window is resized it is less
likely that the places panel will be resized only because the
status bar doesn't want to become very narrow in width.
m_label->setTextFormat(Qt::PlainText);
// Initialize zoom slider's explanatory label
- m_zoomLabel = new QLabel(i18nc("Used as a noun, i.e. 'Here is the zoom level:'", "Zoom:"), this);
+ m_zoomLabel = new KSqueezedTextLabel(i18nc("Used as a noun, i.e. 'Here is the zoom level:'", "Zoom:"), this);
// Initialize zoom widget
m_zoomSlider = new QSlider(Qt::Horizontal, this);
QWidget::hideEvent(event);
}
+QSize StatusBarSpaceInfo::minimumSizeHint() const
+{
+ return QSize();
+}
+
void StatusBarSpaceInfo::updateMenu()
{
m_buttonMenu->clear();
protected:
void showEvent(QShowEvent *event) override;
void hideEvent(QHideEvent *event) override;
+ QSize minimumSizeHint() const override;
void updateMenu();