3

label in org.zkoss.zul.Messagebox must be middle aligned [closed]

asked 2013-03-22 05:23:18 +0800

nsharma gravatar image nsharma flag of India
917 1 11

updated 2013-03-22 05:31:15 +0800

label shown in zk messagebox comes a little above the image shown,can anyone help me out to make it middle align.

here is the demo code.

please help me out.

delete flag offensive retag edit

The question has been closed for the following reason "the question is answered, right answer was accepted" by nsharma
close date 2013-03-25 04:38:35

Comments

1

@nsharma this message-box default one as per my understanding you can not change it.you can create a customize message-box. you have to create single Jul you can design as your choice.

hswain ( 2013-03-22 05:37:13 +0800 )edit

yes,it is possible,but if zk could answer the question,it would be much better.

nsharma ( 2013-03-22 05:41:48 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-03-22 08:54:28 +0800

Matze2 gravatar image Matze2
773 7

The ZUL file used by the MessageBox class can be found in zul.jar (.../messagebox.zul). You can extract and copy this file into your project and modify the layout according to your needs.

Then you call Messagebox.setTemplate("path/to/your/messagebox.zul"); at startup time.

link publish delete flag offensive edit

Comments

good idea.........

hswain ( 2013-03-22 10:14:10 +0800 )edit

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-03-22 05:23:18 +0800

Seen: 45 times

Last updated: Mar 22 '13

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