EasyUI Forum
April 20, 2024, 06:46:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How can I set the icon of linkbutton use my png file?  (Read 4742 times)
jianspf
Newbie
*
Posts: 12


View Profile Email
« on: October 30, 2017, 06:40:14 PM »

Hello,everyone,I'm new here..and I'm new for easyui.
I have two questions:
How can I set the icon use my png file?
And How can I get all of the internal icon name,like 'icon-edit','icon-ok',etc.
Can I get the name list? thanks!
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: October 31, 2017, 01:10:14 AM »

The icon CSS is defined in 'themes/icon.css' file. It looks like this:
Code:
.icon-add{
background:url('icons/edit_add.png') no-repeat center center;
}
.icon-clear{
background:url('icons/clear.png') no-repeat center center;
}
Logged
jianspf
Newbie
*
Posts: 12


View Profile Email
« Reply #2 on: November 05, 2017, 10:59:27 PM »

very useful! thanks.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!