Absolute position"

From Documentation
m (Created page with '{{ZKDevelopersGuidePageHeader}} By setting <tt>window</tt>'s <tt>left</tt>, <tt>top</tt>, <tt>mode="overlapped"</tt>, you can layout <tt>window</tt> by absolute position. Then, …')
 
m (correct highlight (via JWB))
 
Line 1: Line 1:
 
{{ZKDevelopersGuidePageHeader}}
 
{{ZKDevelopersGuidePageHeader}}
  
By setting <tt>window</tt>'s <tt>left</tt>, <tt>top</tt>, <tt>mode="overlapped"</tt>, you can layout <tt>window</tt> by absolute position. Then, you can put component inside <tt>window</tt>.
+
By setting <code>window</code>'s <code>left</code>, <code>top</code>, <code>mode="overlapped"</code>, you can layout <code>window</code> by absolute position. Then, you can put component inside <code>window</code>.
  
 
Following is a example:
 
Following is a example:
Line 14: Line 14:
 
</source>
 
</source>
  
Currently only <tt>window</tt> support <tt>mode="overlapped"</tt>.
+
Currently only <code>window</code> support <code>mode="overlapped"</code>.
  
 
{{ ZKDevelopersGuidePageFooter}}
 
{{ ZKDevelopersGuidePageFooter}}

Latest revision as of 10:41, 19 January 2022

Stop.png This documentation is for an older version of ZK. For the latest one, please click here.


By setting window's left, top, mode="overlapped", you can layout window by absolute position. Then, you can put component inside window.

Following is a example:

<window>
	<button label="ok" width="300px" height="300px" />
	<window left="200px" top="200px" mode="overlapped">
		<button label="ok" />
	</window>
</window>

Currently only window support mode="overlapped".



Last Update : 2022/01/19

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.