css for a user image on image button


My application has a user profile button defined as:
{view:"button", id:"UserBtn", type:"iconTop",label:"User Name", icon:"fa fa-user-circle", css:"webix_transparent"}

I would like to display a round image of the logged-in user (like the comments widget avatar) in the place where the icon is displayed in the above button definition.

Once the user logs into the application I replace the "User Name" label value with their actual name. I would like to do this with an 'imageTop' button
but im not having luck defining a css that would show a round image if the user above the user's name.




Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion