Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

restrict size of datepicker

Hi,
I have the following code restrict the size of selectmenu

code.ui-page .ui-select .ui-btn-inner {
white-space: normal;
}code

I need to do the same with datepicker, I tried this

code.ui-page .ui-select .ui-btn-inner .ui-datepicker {
white-space: normal;
}code

didn't work, any ideas?/code/code/code/code

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

restrict size of datepicker

Could you clarify please what size you want to restrict in datepicker? Screenshot would help

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

restrict size of datepicker

Hi Marina,
I am trying to stop this sort of component stretch when app is viewed in landscape, in the same ay that the select menu behaves

Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

restrict size of datepicker

Hi,

Datepicker and Select Menu are in different grid components.
Width of first grid is in px (128px), width of second one is in percents (41%).
You can select first grid component (with Label "Date") and set width = "41%" to normalize the output.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

restrict size of datepicker

Thanks Katya,
nice way to keep things tidy!

Return to “Issues”