Style the Listbox element inside of a Form control to increase its height

Ameya Kulkarni asked on December 5, 2017 20:40

How do s style elements inside of a Form control ? Specifically I want to increase height of this Listbox inside of my Form control so that all the elements are visible without scroll.

Recent Answers

Zach Perry answered on December 5, 2017 22:54

Whatever you are using the form control on, page type, form, etc, in the fields list where you select the control, you should be able to add a control css class, then you can just style the control based off that.

1 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on December 6, 2017 14:59

You can access it via css using the following selector:

.form-group .editing-form-value-cell select.form-control

You can also add a value to the "Control CSS class" within the field of the object (page type, custom table, form, etc.) you are working with. This will add the css class you added directly to the input control so you can select it easier.

Image Text

Image Text

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.