Bug: text field in Calculix_static_results dialog default size truncates text

About the development of the FEM module/workbench.

Moderator: bernd

Post Reply
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Bug: text field in Calculix_static_results dialog default size truncates text

Post by Kunda1 »

FreeCAD-FEM-bug.png
FreeCAD-FEM-bug.png (114.95 KiB) Viewed 249 times
Reproduce:
1. open FemCalculixCantilever3D_newSolver from StartWB
2. In the tree view find Calculix_static_results and double click.
3. Task view dialog opens, scroll down

OS: Manjaro Linux (KDE//usr/share/xsessions/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23141 (Git) AppImage
Build type: Release
Branch: master
Hash: 0eba78d40096720f7a637a9a73c382a08b820bca
Python version: 3.8.6
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

Edit:
I can reproduce this with other FEM examples of the StartWB page
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
bernd
Veteran
Posts: 12851
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Bug: text field in Calculix_static_results dialog default size truncates text

Post by bernd »

Works great here on:

Code: Select all

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22960 (Git)
Build type: Release
Branch: master
Hash: c5a4b01d2e4218bcc0eb6650337650a6c65ef0e4
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Switzerland (de_CH)
I will give it a try on my Linux machine too later on today.


screen.png
screen.png (110.41 KiB) Viewed 215 times
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Bug: text field in Calculix_static_results dialog default size truncates text

Post by Kunda1 »

I remember reading somewhere on the forum...perhaps regarding TechDraw where there is some sort of Qt widget 'flag' or something that auto-expands text fields to their limit based on the content. I'm not sure I'm remembering correctly, so ignore me if I'm way off.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply