EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2025, 10:20:00 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 Vue
>
change datebox component with style layout error
Pages: [
1
]
« previous
next »
Print
Author
Topic: change datebox component with style layout error (Read 8220 times)
fengdie
Jr. Member
Posts: 87
change datebox component with style layout error
«
on:
August 23, 2018, 04:31:27 AM »
<DateBox v-model="date" style="width:120px;"></DateBox>
see attachment
Logged
jarry
Administrator
Hero Member
Posts: 2289
Re: change datebox component with style layout error
«
Reply #1 on:
August 23, 2018, 05:31:53 AM »
Set the 'panelStyle' property to a bigger size.
Code:
<DateBox :panelStyle="{width:'250px',height:'250px'}" style="width:120px"></DateBox>
Logged
fengdie
Jr. Member
Posts: 87
Re: change datebox component with style layout error
«
Reply #2 on:
August 23, 2018, 07:21:51 PM »
i recommend,datebox component 'props' define 'panelStyle' default value。
Code:
panelStyle: {
type: Object,
default: () => {return {height:'250px',width:'250px'}}
}
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...