Our pure JavaScript Scheduler component


Post by JohnMousley »

Hi, i'm hoping you can help.
I have created some fields in a task editor tab, but I need the input fields to be vertically aligned and the same size.

Currently the input fields are varied sizes and not left aligned

I have used the cls class to change the font sizes but do not know how to amend the width or alignment of the controls.

I have attached an image showing the issue.

Thanks

Attachments
SchedulerTaskEdit.png
SchedulerTaskEdit.png (15.37 KiB) Viewed 394 times

Post by pmiklashevich »

You can set labelWidth or change labelPosition to be "above" the field:

testItem : {
    type          : 'text',
    label         : 'test',
    labelPosition : 'above',
    weight        : 900
}

Pavlo Miklashevych
Sr. Frontend Developer


Post by JohnMousley »

Excellent thanks, this resolved my issue. I used the labelWidth property.


Post Reply