简体   繁体   English

"如何更改 primeNG 复选框大小"

[英]How to change primeNG checkbox size

Simple question... how I can resize p-checkbox<\/code> ?简单的问题......我如何调整p-checkbox<\/code>大小? Without primeng I did something like <p-checkbox style="transform: scale(2.0)"><\/p-checkbox><\/code>没有primeng,我做了类似<p-checkbox style="transform: scale(2.0)"><\/p-checkbox><\/code>

But with primeng Im getting但是随着primeng我得到

Error: Cannot find a differ supporting object 'transform: scale(2.0)'
    at ...

Simple question... how I can resize p-checkbox ?一个简单的问题...我如何调整p-checkbox大小? Without primeng I did something like <p-checkbox style="transform: scale(2.0)"></p-checkbox>没有primeng,我做了类似<p-checkbox style="transform: scale(2.0)"></p-checkbox>

But with primeng Im getting但是随着priming im越来越

Error: Cannot find a differ supporting object 'transform: scale(2.0)'
    at ...

How to make checkbox bigger then?那么如何使复选框更大?

Simple question... how I can resize p-checkbox ?一个简单的问题...我如何调整p-checkbox大小? Without primeng I did something like <p-checkbox style="transform: scale(2.0)"></p-checkbox>没有primeng,我做了类似<p-checkbox style="transform: scale(2.0)"></p-checkbox>

But with primeng Im getting但是随着priming im越来越

Error: Cannot find a differ supporting object 'transform: scale(2.0)'
    at ...

How to make checkbox bigger then?那么如何使复选框更大?

This solution might not fit all scenarios but it worked for my case.此解决方案可能不适合所有场景,但适用于我的情况。

p-复选框调整大小<\/a>

"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM