Making the date picker widget more compact

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
1 answers

Hi Kirti,

you can use styling to adjust your date picker to fit content. Read about how styling works in mendix 9 here: , 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