Making the date picker widget more compact

0
Hi everyone, Can any please suggest the way to change date picker height and width (making it compact in simpler way.The widget is consuming lot of space.   Please suggest the possible solution. As you can the widget & normal text height diff could be seen which is not a preferred UI
asked
1 answers
0

Hi Kirti,

you can use styling to adjust your date picker to fit content. Read about how styling works in mendix 9 here: https://docs.mendix.com/howto/front-end/customize-styling-new/ , make sure to give your date picker a custom class, address the .form-control class below it and add some styling like this :

padding: 0px 0px 0px 8px;
height: fit-content;

it will use less space. Might not be the optimal solution though

 

 

answered