Hi Chris,
I agree and had the same thoughts before I submitted. Wasnt sure what
the best option was.
Thinking about it more, I think a dedicated example is best, although
this is more about reference/documentation than example. What about an
example to be used as a reference for other things as well? I was
thinking about layouts for instance as I had to learn it by trial and
error before understanding it fully.
What do you think?
Cheers,
Pierre
Le sam. 9 janv. 2021 à 17:22, Chris Waldon
<christopher.waldon.dev@gmail.com> a écrit :
Hi Pierre!
Thanks for putting this reference together! Having this set of squares
available will definitely help people use gradients in gio effectively!
However, I do think that their current placement makes the kitchen look
a little less... polished? It adds a lot of visual noise that is useful
as a reference, but looks cluttered. We use that particular example to
showcase all of the things that Gio supports, and I think its first
impression matters.
I have two thoughts about how to integrate this change:
- switch between the basic gradient that predates this change and the
set of squares you added when the user checks a box or presses a
button. We could introduce a new widget to control this.
- create a new, separate example program that just demonstrates how to
use gradients.
What do you think?
Cheers,
Chris