Telerik Forums
UI for Blazor Forum
1 answer
19 views

Is it possible to specify the QRcode size in other units than pixels?
If I set Size="10vw"  then the surrounding div scales correctly, but the inner div has a with and height of 10px, and the QR code is empty.
It seems to me that the unit is ignored and only the numbers are used as a size in pixels.

Is there a way to make the QR image scalable?

Kind regards,

Kees Alderliesten

Nadezhda Tacheva
Telerik team
 updated answer on 14 Mar 2024
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?