0

how to make the window autosizeable according to diemsions of images being loaded??

asked 2010-06-29 05:11:13 +0800

chandanpradhan gravatar image chandanpradhan
9

My window loads images but the size of the window is the default size being set.I need to know how to make it autosizeable according to the dimensions size of the image in zul or in composer

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2010-06-30 02:51:42 +0800

vinhvo gravatar image vinhvo
369 3

updated 2010-06-30 02:51:56 +0800

<?page title="Auto Generated index.zul"?>
<div style="overflow:auto">
<window title="Hello World!!" border="normal" width="100%" height="100%" apply="test.vinhvo.Controller" id="win" >

<zk>

	<image src="img/myimg.jpg"></image>

</zk>
			
</window>
</div>	

Try it .
Br,VInhVo

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: 2010-06-29 05:11:13 +0800

Seen: 173 times

Last updated: Jun 30 '10

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