opentoonz / opentoonz

OpenToonz - An open-source full-featured 2D animation creation software
https://opentoonz.github.io/
Other
4.47k stars 511 forks source link

Some Input boxes are being cropped #4044

Closed andeon closed 2 years ago

andeon commented 3 years ago

Describe the bug Some Input boxes are being cropped on the right side, apparently this is a recurring visual bug, even in previous versions.

Tool / Window Input Box Condition
Selection Tool Miter Vector Level
Brush Tool Miter Vector Level
Geometric Tool Thickness Toonz Raster Level, Raster Level
Geometric Tool Polygon Slides and Miter Toonz Raster Level, Raster Level, Vector Level
Paint Brush Tool Size Toonz Raster Level
Eraser Tool Size Toonz Raster Level, Raster Level
Tape Tool Opacity Toonz Raster Level
Finger Tool Size Toonz Raster Level
Pump Tool Accurracy Vector Level
Tracker Tool X and Y Vector Level
Cleanup Settings (Global) Despeckling
Stop Motion Control Opacity
Stop Motion Control interval(sec) and Capture Review Time) Options tab

To Reproduce List steps to reproduce the behavior.

  1. Open the program and choose the light theme for a better viewing.
  2. Check the Input boxes in tool option bar e.g. [Geometric Tool (G), Eraser Tool (E)].

Screenshots Iputbox

Device Information:

andeon commented 2 years ago

I was creating some new themes and decided to test some qss style parameters. Apparently setting min-width to QlineEdit in the theme fixes all the cropped textboxes. I'm not sure if that's the best way to fix it.

How to test in your environment: Open Opentoonz access the menu File-> Preferences-> Interface-> Click on [Edit Additional Style Sheet...] button and paste of QSS code.:

QLineEdit { min-width: 36;}

Apply and check if it works properly. Use it for now until the next update.