Page 1 of 1

left alignement in cellEditor (input / output) (solved)

Posted: 12 Jan 2019, 17:50
by serenne
Hi all,
Any hep to left align left the same for output and input facet components.

in the output facet I have a 10 pixel space on the left.
in the input facet: the component is sometimes 0 spaced from the beginning of the column
Image
As you can see in the screenshot :
in timeZone : h:outputText and p:selectOnemenu of the first line are OK (all correctly aligned), in "Mot de passe" ( p:password) : same : all ok (for alignment)
but for p:input Text (or even in the "Groupr column" : in that business case the output facet is not editable and is a h:outputText), there is no space left .. on the left side

Thanks in advance

Re: left alignement in cellEditor (input / output)

Posted: 14 Jan 2019, 09:55
by aragorn
Please try;

Code: Select all

body .ui-datatable .ui-datatable-data tr.ui-row-editing td.ui-editable-column {
	padding: 6px 10px;
}

Re: left alignement in cellEditor (input / output) (solved)

Posted: 14 Jan 2019, 15:06
by serenne
Works fine for inputText, but now, may selectOnemenu are no more correctly left aligned (10 pix added ...)
But .. AS I am using composite every where I put this padding inside the compoiste and it works fine !!!

Thanks Aragorn !!

Re: left alignement in cellEditor (input / output) (solved)

Posted: 15 Jan 2019, 11:14
by aragorn
Glad to hear, thanks a lot for the update!