[Panel-devel] Analog Clock resize
Anne-Marie Mahfouf
annemarie.mahfouf at free.fr
Sun Oct 7 18:56:44 CEST 2007
Hi,
The fix below makes the analog clock resize correctly. Is that OK or should it
be taken care of elsewhere?
Cheers,
Anne-Marie
Index: clock.cpp
===================================================================
--- clock.cpp (revision 722393)
+++ clock.cpp (working copy)
@@ -91,6 +91,7 @@
QFontMetrics fm(QApplication::font());
m_size = QSizeF(fm.width("00:00:00") * 1.2, fm.height() * 1.5);
}
+ resize(m_size);
updateGeometry();
}
}
More information about the Panel-devel
mailing list