pre beta test subsurface-mobile 689

Rick Walsh rickmwalsh at gmail.com
Thu Jan 21 10:36:25 PST 2016


On 22 Jan 2016 04:25, "Dirk Hohndel" <dirk at hohndel.org> wrote:
>
> On Thu, Jan 21, 2016 at 05:25:46PM +0100, Jan Mulder wrote:
>
> > >I thought that was implemented in Rick's change to abstract out the
> > >SubsurfaceButton.qml but didn't pay much attention to that detail. Yes,
> > >the button should change when pressed - different color or something.
Jan,
> > >would you like to try to play with this? This is a really nice and
simple
> > >way to get your feet wet with QML (and you clearly are already building
> > >your own on the desktop).
> > Ok, I will give this a go.

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.

I made the shaded colour just for the button, so it should be changed to
something that works (or change the button styling completely).

You might also increase the padding (in the background rectangle item in
subsurfaceButton.qml).

Cheers,

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160122/e4f5f864/attachment.html>


More information about the subsurface mailing list