-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi, I like to modify font size for value in IntBox and Spinner.
I just used :
Listcell lc = new Listcell();
Spinner lb = new Spinner();
lb.setStyle("font-size:10pt");
But nothing change.
Just set "style" attribute.
<intbox style="font-size: 10px"/>
You specify 10pt which equals to 13.33px, and the default font size is 12px. So it's hard to see the difference between 12px and 13.33px which misleads you that nothing changed.
You can set a different font-size like 10px.
solution i was looking for thanks for sharing
Asked: 2018-02-02 20:03:54 +0800
Seen: 22 times
Last updated: Feb 07 '18