EasyUI Forum
April 24, 2024, 10:52:30 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: eui-textbox and eui-passwordbox width = 100% failed in form  (Read 6459 times)
softboy99
Newbie
*
Posts: 43


View Profile Email
« on: March 26, 2018, 12:46:01 AM »

eui-textbox and eui-passwordbox width = 100% failed in form
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: March 26, 2018, 06:13:16 PM »

The layout of a component dependents on how you set the style of its parent container. So please check your css styles that set on your components carefully.
Logged
softboy99
Newbie
*
Posts: 43


View Profile Email
« Reply #2 on: March 28, 2018, 08:29:18 PM »

when we use <input> its ok, but when changed to eui-textbox, failed.
Logged
softboy99
Newbie
*
Posts: 43


View Profile Email
« Reply #3 on: March 28, 2018, 11:29:44 PM »

after set its parent div width=100%, it still doesn't work. After check with chrome, your eui-textbox and eui-passwrodbox wrappeed a <span> outside the <input> so manually set the outer <span> width = 100% in the chrome browser debugger, then its ok.
« Last Edit: March 28, 2018, 11:35:06 PM by softboy99 » 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!