EasyUI Forum
September 19, 2025, 01:05:59 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: menu without text  (Read 5539 times)
korenanzo
Guest
« on: February 24, 2016, 02:58:21 AM »

Hi,

Id like to have a menu with menu items only icons.
I can do it  setting text:'', but the menu occupies the space even for the text (.menu-text elements)


is it possible to hide or remove the text elements so to get  a compact,icons only menu ?


thanks,
RIc
Logged
jarry
Administrator
Hero Member
*****
Posts: 2298


View Profile Email
« Reply #1 on: February 24, 2016, 05:35:16 PM »

Set the 'width' and 'minWidth' to a smaller value.
Code:
<div id="mm" class="easyui-menu" noline="true" minWidth="30" style="width:30px">
<div iconCls="icon-add"></div>
<div iconCls="icon-edit"></div>
<div iconCls="icon-remove"></div>
<div iconCls="icon-save"></div>
</div>
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!