Some observations about TechDraw Ballon
1) When I create a balloon in TDWB the text is too small. The Fontsize of the text in a balloon is 0.2mm
2) The start Start Symbol is missing.
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17144 (Git)
Build type: Release
Branch: master
Hash: ece1b7ecbaa36d22403d6850d8498882d820db3c
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Australia (en_AU)
Text in Balloon is too small
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Text in Balloon is too small
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project
Re: Text in Balloon is too small
Hi,
Seems like it comes from language translation and how I preset the comboBox.
In my case, it searches for "Arrow" but combo text is "Flèche" (French).
What text do you have in your comboBox ?
Need to find another way to set comboBox here.
I'm wondering if something has changed here because I didn't do any translation work myself.
I even don't know how to do that
Thanks anyway for reporting.
Franck.
Seems like it comes from language translation and how I preset the comboBox.
In my case, it searches for "Arrow" but combo text is "Flèche" (French).
What text do you have in your comboBox ?
Code: Select all
i = ui->comboEndType->findText(QString::fromUtf8(parent->dvBalloon->EndType.getValueAsString()));
ui->comboEndType->setCurrentIndex(i);
i = ui->comboSymbol->findText(QString::fromUtf8(parent->dvBalloon->Symbol.getValueAsString()));
ui->comboSymbol->setCurrentIndex(i);
I'm wondering if something has changed here because I didn't do any translation work myself.
I even don't know how to do that
Thanks anyway for reporting.
Franck.
- wandererfan
- Veteran
- Posts: 6324
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
- wandererfan
- Veteran
- Posts: 6324
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Text in Balloon is too small
I can't get "Fleche" in the combo box with FC language = Francais and locale = fr_Fr or fr_Ca. It always shows "Arrow".
Anyway, OP is in Australia, so probably not using French.
Use the index for setting and getting the combo box text:
Code: Select all
// i = ui->comboEndType->findText(QString::fromUtf8(parent->dvBalloon->EndType.getValueAsString()));
i = parent->dvBalloon->EndType.getValue();
ui->comboEndType->setCurrentIndex(i);
// i = ui->comboSymbol->findText(QString::fromUtf8(parent->dvBalloon->Symbol.getValueAsString()));
i = parent->dvBalloon->Symbol.getValue();
ui->comboSymbol->setCurrentIndex(i);
// and
m_parent->dvBalloon->EndType.setValue(ui->comboEndType->currentIndex());
m_parent->dvBalloon->Symbol.setValue(ui->comboSymbol->currentIndex());
The translation process pulls the literals from the ui file. Then the generated routine "void retranslateUi(QWidget *TechDrawGui__TaskBalloon)" does the translation at run time.I'm wondering if something has changed here because I didn't do any translation work myself.
Re: Text in Balloon is too small
Hi. Thanks for your attention. I fixed the problem deleting the configuration files in AppData>Roaming>FreeCAD
With a clean installation, the text and symbols are visible again.
Anyway, Balloon is working properly now.
With a clean installation, the text and symbols are visible again.
Anyway, Balloon is working properly now.
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)
Canal Youtube Grupo Telegram de FreeCAD Español
My personal web site
My GitHub repository
Mini Airflow Tunnel Project