如何调整 <p:column> 的宽度在 <p:panelGrid> 中? [英] how can I adjust width of <p:column> in <p:panelGrid>?
本文介绍了如何调整 <p:column> 的宽度在 <p:panelGrid> 中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用宽度属性作为对于所有列但在显示中,列未调整.
I used width attribute as for all columns but In display, columns are not adjusted.
我可以这样过去吗?如果,请指导我达到我想要的列宽.
Can i get in this way? If, please guide me to achieve column widths as I desired.
推荐答案
您可以使用硬编码值:
<p:column style="width:20px">
或百分比:
<p:column style="width:20%">
看什么最适合你.
这篇关于如何调整 <p:column> 的宽度在 <p:panelGrid> 中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文