0

how to set border layout to fullscreen

asked 2011-06-14 04:23:10 +0800

gellaps gravatar image gellaps
157 1

http://img829.imageshack.us/img829/1491/webos.jpg

hi i in progress to make my own homepage,
i wanna make web base desktop, and when i create using border layout and using tooolbar, it's width cannot set to fullscreen

as u can see in my image, it still have a bit white space at the left and the ride side, can i make it fullscreen??

thanks for any answer

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2011-06-14 06:05:28 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2011-06-14 06:07:15 +0800

Try the style tag like this:

. . .
<zk xmlns="http://www.zkoss.org/2005/zul"
	xmlns:h="http://www.w3.org/1999/xhtml"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">

	<window width="100%" height="100%">

		<style>
			<!-- padding: 0 on top/botom; left/right -->
			body { padding: 0 0;
		</style>

  . . .

link publish delete flag offensive edit

answered 2011-06-14 22:52:28 +0800

gellaps gravatar image gellaps
157 1

great, it works :)..
thanks terry

and i just realize that zk is really cool :)..

oh, i have another question,
this is my code for the taskbar

<borderlayout sclass="wallpaper">
<south>
	 <toolbar id="tb" sclass="taskbar" height="30px" align="end">
	    <toolbarbutton label="Start"/>
            
            <toolbarbutton image="/widgets/menu/toolbar/img/java.png" onClick='alert("Java")' />
            <toolbarbutton image="/widgets/menu/toolbar/img/issue.png" onClick='alert("Issue")' />           
            <toolbarbutton image="/widgets/menu/toolbar/img/internet.png" onClick='alert("Internet")' />
            <toolbarbutton image="/widgets/menu/toolbar/img/volumn.png" onClick='alert("Volumn")' />
            <toolbarbutton id="tbbClock" label="12:55 PM"/>
        </toolbar> 
</south>
</borderlayout>


how to make the Start button floating on the left?
since it is placed between the toolbar tag that aligned to the "end"...
and <toolbarbutton> didn't have an align attribut

thank you, and sorry for my bad english..

link publish delete flag offensive edit

answered 2011-06-15 02:47:00 +0800

gellaps gravatar image gellaps
157 1

hey i have finish with toolbar placing..

i'm following what they say http://www.zkoss.org/forum/listComment/15835
and now i can make the start button that floating on the left :D

now i have another problem,, when i click the toolbarbutton, they have a hover effect,
it is looks like this http://www.zkoss.org/zksandbox/#t2

can i remove it?

link publish delete flag offensive edit

answered 2011-06-15 09:47:12 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

Please open for every new question a new thread. So other users can follow them better.

link publish delete flag offensive edit

answered 2011-06-15 22:00:52 +0800

gellaps gravatar image gellaps
157 1

oh, sorry terry,
but i had made that. but no one reply my post,

http://www.zkoss.org/forum/listComment/16572

link publish delete flag offensive edit

answered 2011-06-16 03:46:37 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

Answered the thread you mentioned.

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-06-14 04:23:10 +0800

Seen: 890 times

Last updated: Jun 16 '11

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