opentoonz / opentoonz

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

UI Bugs #881

Closed konero closed 7 years ago

konero commented 7 years ago

Non-stylable, a big annoyance.

This is also present in the Style Editor Window.

fix16


fix1


Missing style.

fix2


Changing the style or removing it shows the label is too narrow.

fix4


fix5


Found under...

  1. Brush Options
  2. Selection Tool Options
  3. Geometric Tool Options

fix6


fix8


fix10


AKA: #IntPairField / #DoublePairField.

fix11


fix15

ghost commented 7 years ago

@konero I was playing with the double pair slider. And made sure all the colors were accessible in qss.
However, the box outline is hard coded via drawn pixels. Because it is a custom UI element and not a standard qt element, the only way I can think of making the round vs square corner an option is to break each side into two pieces (4 total) - two would be the color for the pixels needed for the rounded look, and the other 2 would be the pixels needed for the square look (which can be made to blend in with the background). Currently the other sliders use rounded for the two darker themes and squared for the lighter theme.

I personally prefer the softer look, but the above proposal allows the styling to go both directions. This also adds some complexity, but I don't know another way to do it and give the freedom to style it in qss.

What are your thoughts? BTW- Hope you are doing well. Haven't seen you around here lately.

ghost commented 7 years ago

Here's a picture with the softer look: doublepair

Note: since the handles are accessible via qss, I didn't try and mess with them yet.