0

Set font size for Intbox and Spinner [closed]

asked 2018-02-02 20:03:54 +0800

napule77 gravatar image napule77
15 3

updated 2018-02-02 21:38:45 +0800

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.

delete flag offensive retag edit

The question has been closed for the following reason "the question is answered, right answer was accepted" by cor3000
close date 2018-02-12 09:47:12

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-02-06 12:47:35 +0800

hawk gravatar image hawk
3250 1 5
http://hawkphoenix.blogsp... ZK Team

Just set "style" attribute.

<intbox style="font-size: 10px"/>

image description

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.

link publish delete flag offensive edit
0

answered 2018-02-07 14:10:08 +0800

Avasmith240 gravatar image Avasmith240
1

solution i was looking for thanks for sharing

link publish delete flag offensive edit

Question tools

Follow
1 follower

RSS

Stats

Asked: 2018-02-02 20:03:54 +0800

Seen: 22 times

Last updated: Feb 07 '18

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More