0

Accordion Tab image position

asked 2006-03-02 15:59:38 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3606748

By: nobody

How do you position an image on a Tabbox tab with accordion mold. Right now I add an image to a tab and it is left justified. I want to make the image appear on the far right of the tab.

Also, when the tabSelect() method gets called and I change the image on the tab via tab.setImage(), The accordion type tab will be resized smaller to look like a regular tab.


<tabbox id="tocTabBox" width="440px" mold="accordion" panelSpacing="10px"
onSelect="tabSelect(self)">
<tabs>
<tab label="Component View" image="/images/arrow-down.png" /> </tabs> </tabbox>



delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2006-03-02 16:13:29 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3606781

By: tomyeh

1. The accordion mold is left-aligned. Currently you could not have right justified, unless you provide another mold.

2. The height is determined automatically (by browser) based on the image size and the label.

You might take look at tabpanel-accd.dsp for how is made with HTML tags. You could copy it to your web site, alter it and then define it as new mold.

link publish delete flag offensive edit

answered 2006-03-02 17:54:31 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3607298

By: nobody

Thanks. I found the tabpanel-accd.dsp file and copied to a new filename and made some custom changes. How do I plug in this modified file as a new mold?
I saw a <molds /> control but could not get this to work.

link publish delete flag offensive edit

answered 2006-03-03 00:53:08 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3607908

By: tomyeh

You have to put lang-addon.xml into your jar as described in http://zk1.sourceforge.net/smalltalks/fckez/fckez.html

I'll write articles about customizing look and feel. Give me a few days.

link publish delete flag offensive edit

answered 2006-04-26 15:42:27 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3703637

By: nobody

Hi Tom,

You mentioned that you are writing an article about look and feel. Is it available somewhere.

Thanks

link publish delete flag offensive edit

answered 2006-04-26 15:56:14 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3703648

By: tomyeh

It is in small talks http://zk1.sourceforge.net/smalltalks/index.html

But only part I; part II is not available yet:(

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: 2006-03-02 15:59:38 +0800

Seen: 1,074 times

Last updated: Apr 26 '06

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