跳至內容
選單
此問題已被標幟
2 回覆
5984 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 15
4011
0
3月 15
4120
0
3月 16
3373
0
5月 15
5683
1
3月 15
7129