-
FEATURED COMPONENTS
First time here? Check out the FAQ!
all
I download the timeline sample but it looks awuful on my local. Data collapse into each other and I dont see any where I can adjust the font. Unfortunately I cant upload the screen shot for not enough karma. Appreciate for anyone who has this knowledge can help me out, thank you
regards Li
you can quickly change the font for the timeline component using the style attribute
<timeline id="timeline" height="300px" width="850px" style="12px arial,sans-serif;">
or using the sclass-attribute if you want to apply an existing css-class.
<style>
.small-font {
font: 12px arial,sans-serif;
}
</style>
<timeline id="timeline" height="300px" width="850px" sclass="small-font">
I tested in latest chrome, ff and ie10 the font size was applied correctly. Also refer to the ZK Style Guide.
Asked: 2013-06-17 10:37:44 +0800
Seen: 13 times
Last updated: Jun 20 '13
composite component help [closed]
EL in a forEach @command not working?
Different template for each grid row
Cardlayout animation is broken
Grid RowRender slow using 6.5.1 and sizable=true
setVisible(false), component will load or not
Decimalbox and doublebox value rounded on iPad
history management with page status
Upload images some other website give link here
sjoshi ( 2013-06-17 12:07:17 +0800 )editthe second solution works perfectly, thank you very much for the help
keyevent ( 2013-06-20 13:40:35 +0800 )edit