7 Answers, 1 is accepted
0
Hi Mattias,
Dimiter Madjarov
the Telerik team
I could not reproduce the issue on our side and I think it is caused by some custom styles in your page. For your convenience I am attaching the sample project, that I tested with. Please let me know if it covers your case.
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mattias
Top achievements
Rank 1
answered on 15 Feb 2013, 07:55 AM
Hi,
But I can reproduce it with your example code. If you add one div tag around each box, you'll see what I mean:
The datepicker have different margins then the autocomplete.
/Mattias
But I can reproduce it with your example code. If you add one div tag around each box, you'll see what I mean:
@{
ViewBag.Title = "Home Page";
}
<
div
>
@(Html.Kendo().DatePicker()
.Name("datepicker")
)
</
div
>
<
div
>
<
input
type
=
"text"
name
=
"name"
value
=
""
/>
</
div
>
<
div
>
@(Html.Kendo().AutoComplete()
.Name("country")
.Filter("startswith")
.Placeholder("Select country...")
.BindTo(new string[] {
"Albania",
"Andorra",
"Armenia",
"Austria",
"Azerbaijan",
"Belarus",
})
.Separator(", ")
)
</
div
>
<
div
>
<
input
type
=
"text"
name
=
"name"
value
=
""
/>
</
div
>
/Mattias
0
Hello Mattias,
You could also check the demo about Styling form elements like Kendo UI widgets.
Greetings,
Dimiter Madjarov
the Telerik team
This alignment occurs, because of a top and bottom padding specified in the .k-input class in kendo.common.min.css file. To change this, you could overwrite the styles.
E.g.
span.k-datepicker.k-input
{
padding
:
0
;
}
You could also check the demo about Styling form elements like Kendo UI widgets.
Greetings,
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mattias
Top achievements
Rank 1
answered on 18 Feb 2013, 08:02 AM
Hi,
Thank you, that did help.
But is it not a bug that it has different margins/paddings than for example the autocomplete?
/Mattias
Thank you, that did help.
But is it not a bug that it has different margins/paddings than for example the autocomplete?
/Mattias
0
Hello Mattias,
Dimiter Madjarov
the Telerik team
After discussing this issue with our development team, it seems that this is indeed a bug in the styling of the widgets. It will be fixed in Q1 2013 release. As a sign of gratitude I am adding Telerik points to your account.
Wish you a great day!
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mattias
Top achievements
Rank 1
answered on 20 Feb 2013, 08:24 AM
Hi,
I just tried the numerictextbox, and it seems to have the wrong styling to.
/Mattias
I just tried the numerictextbox, and it seems to have the wrong styling to.
/Mattias
0
Hi Mattias,
Thank you for noticing this. We are aware of the issue and it is already fixed. The fix will be available in the Q1 2013 release.
Wish you a great day!
Dimiter Madjarov
the Telerik team
Thank you for noticing this. We are aware of the issue and it is already fixed. The fix will be available in the Q1 2013 release.
Wish you a great day!
Kind regards,
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!