<p dir="ltr"><br>
On 22 Jan 2016 04:25, "Dirk Hohndel" <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>> wrote:<br>
><br>
> On Thu, Jan 21, 2016 at 05:25:46PM +0100, Jan Mulder wrote:<br>
><br>
> > >I thought that was implemented in Rick's change to abstract out the<br>
> > >SubsurfaceButton.qml but didn't pay much attention to that detail. Yes,<br>
> > >the button should change when pressed - different color or something. Jan,<br>
> > >would you like to try to play with this? This is a really nice and simple<br>
> > >way to get your feet wet with QML (and you clearly are already building<br>
> > >your own on the desktop).<br>
> > Ok, I will give this a go. </p>
<p dir="ltr">The button *does* actually change colour when pressed. The problem is I made the shaded colour (subsurfaceShadedColor, or something like that, defined in Main.qml) too close to the normal colour (called something like subsurfaceHighlightColor, defined the line above), so it isn't very obvious. Added to that, the button is small and covered by your finger when pressed on a touchscreen.</p>
<p dir="ltr">I made the shaded colour just for the button, so it should be changed to something that works (or change the button styling completely).</p>
<p dir="ltr">You might also increase the padding (in the background rectangle item in subsurfaceButton.qml).</p>
<p dir="ltr">Cheers,</p>
<p dir="ltr">Rick</p>