mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
Fix : element text alignment work also when font size change.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5370 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -351,8 +351,11 @@ QColor PartDynamicTextField::color() const {
|
||||
* @brief PartDynamicTextField::setFontSize
|
||||
* @param s
|
||||
*/
|
||||
void PartDynamicTextField::setFontSize(int s) {
|
||||
void PartDynamicTextField::setFontSize(int s)
|
||||
{
|
||||
prepareAlignment();
|
||||
setFont(QETApp::diagramTextsFont(s));
|
||||
finishAlignment();
|
||||
emit fontSizeChanged(s);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user