0

Change font-size from tabbox

asked 2011-05-04 15:05:38 +0800

andij62 gravatar image andij62
301 1 7

Hallo all,

i will change the font-size from tabs with jave code because i render the font-size variabel about "onClientInfo" is fired.

in zul-File no problem with

<style>
.z-tab-accordion-text { 
	font-size: 20px; 
}
</style>

please can everyone give me a java-sample.

Best Regards
Andi

delete flag offensive retag edit

12 Replies

Sort by ยป oldest newest

answered 2011-05-09 01:44:30 +0800

tawa gravatar image tawa
162 1

report the bug:
http://sourceforge.net/tracker/?group_id=152762&atid=785191

if you need a solution for now, make a css class for each font-size.
like this:
tab-font6 span.z-tab-text {font-size: 6px}
tab-font7 span.z-tab-text {font-size: 7px}
tab-font8 span.z-tab-text {font-size: 8px}
...
and
Component.setSclass("tab-font" + (int) (deskHeight / 25));

it's dirty, but should work

link publish delete flag offensive edit

answered 2011-05-16 05:02:29 +0800

andij62 gravatar image andij62
301 1 7

hi tawa,

thanks for your help! The solution is ok for the moment.

Andi

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-05-04 15:05:38 +0800

Seen: 941 times

Last updated: May 16 '11

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