← Back to team overview

ubuntu-phone team mailing list archive

Re: Add image for toolbar buttons?

 

On Sat, 2013-11-02 at 12:16 -0500, Israel wrote:
> Does it work with the icons installed though.  Since these apps are to
> be cross platform (cross device?), I think this would be needed, in
> order for these apps to be truly device independant

Using Matt's method, the icons show up just fine on my laptop, running
Ubuntu GNOME 13.10. Though the icons appear to be GNOME icons rather
than the mobile icons (which makes sense).

> On 11/02/2013 01:41 AM, Matt Austin wrote:
> > After some experimentation, I got the following to work:
> > 
> >     tools: ToolbarItems {
> >         ToolbarButton {
> >             action: Action {
> >                 text: 'Refresh'
> >                 iconSource: Qt.resolvedUrl('image://theme/reload')
> >                 onTriggered: {}
> >             }
> >         }
> >     }

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References