Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5951 มุมมอง

I want to vertically center the texts in blocktable cells. Currently the text is showing as: drive.google.com/file/d/0B8C4w9Dg_5bEX0JVMEVFbEg4Ukk/view?usp=sharing 

I have tried different ways but nothing works. 


อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Well I was also hoping that the issue would solved by using <blockValign value="CENTER"/> , but unfortunately this didn't help me. So from the rml guide I found another solution to apply bottom padding to the cell data by using <blockBottomPadding length="(val)"/> . which then works perfectly as I wanted.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You need to give the style of your block as like below.

<blockTableStyle id="Table_Header">

<blockAlignment value="LEFT"/>

<blockValign value="CENTER"/>

</blockTableStyle>

when you apply the above style to any one blocktable then data will be in vertically center.

I hope you will get perfect output.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 15
3996
0
มี.ค. 15
4105
0
มี.ค. 16
3359
0
พ.ค. 15
5645
1
มี.ค. 15
7111