EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2024, 06:38:49 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Button - Same size
Pages: [
1
]
« previous
next »
Print
Author
Topic: Button - Same size (Read 7454 times)
Pierre
Sr. Member
Posts: 439
Button - Same size
«
on:
April 09, 2014, 04:37:08 AM »
Hi all
is it possible to define fixed button size (width) for all buttons?
If you take a look at the attached image, you can see that "Ok" button have smaller width as "Cancel" button.
I want that both buttons have same width.
Thanks.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Button - Same size
«
Reply #1 on:
April 09, 2014, 06:01:44 AM »
Set a 'width' style to get a fixed width button. Please refer to this example
http://www.jeasyui.com/demo/main/index.php?plugin=LinkButton&theme=default&dir=ltr&pitem=Basic
.
Logged
Pierre
Sr. Member
Posts: 439
Re: Button - Same size
«
Reply #2 on:
April 09, 2014, 09:08:43 AM »
Thank you.
I meant more on single place where I can set something like minWidth="80px" ?
Logged
Pierre
Sr. Member
Posts: 439
Re: Button - Same size
«
Reply #3 on:
April 19, 2014, 11:38:56 PM »
I changed it on CSS, this works perfect:
.l-btn {
background-position: right 0;
text-decoration: none;
display: inline-block;
zoom: 1;
height: 24px;
padding-right: 18px;
cursor: pointer;
outline: none;
}
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...