Tuesday, 29 May 2012

Window Title Change Color

Reference URL
http://books.zkoss.org/wiki/ZK_Style_Guide/XUL_Component_Specification/Window/Default_(embedded)

Zul File
<?page title="Auto Generated index.zul"?>
<zk>
    <style>

        .z-window-embedded-tl,.z-window-embedded-tr,.z-window-embedded-hl,.z-window-embedded-hr,
        .z-window-embedded-hm 
        { 
            background-image:none;
            background-color:#94D3D3; 
        } 
        .z-window-embedded-cnt 
        { 
            border:1px
            solid #7BADAD; 
        }
    </style>
    <window title="Hello World!!" border="normal" width="200px"
        mode="embedded">
        <label value="You are using: ${desktop.webApp.version}" />
    </window>
</zk>



Output

image

No comments:

Post a Comment

Passing Parameter between two files using MVVM

This examples shows how to pass parameter between two zul screens. In this example, we are passing some parameters from the parent vm to...