Separator with vertical bar height issue in a Toolbar

asked 2014-02-21 14:30:01 +0800

gyowanny gravatar image gyowanny
283 1 2 6


I have a window where I put a toolbar on top of it as the following code:

<borderlayout width="100%" height="100%">
            <toolbar >
                <toolbarbutton id="btnSalvar"  label="Salvar" forward="onSalvar"/>
                <space bar="true" height="100%"/>
                <toolbarbutton id="btnCancelar" label="Cancelar" forward="onCancelar"/>
        <center> ... </center>

I noticed that the "space" element is not drawing the bar with the correct height, I mean, it's not covering all the Toolbar's height as you can see in this screenshot: http://prntscr.com/2uhjwj

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-06-04 04:05:56 +0800

cor3000 gravatar image cor3000
4351 2 7
ZK Team

As a quick fix (with a fixed height) you can apply the styles in this example.

The same can be achieved by applying a CSS style for the whole page in this example

If you need a flexible height this will apply the height to the parent elements so it can be used inside the spacer.

I hope these examples are helpful.

link publish delete flag offensive edit
Your answer
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




Asked: 2014-02-21 14:30:01 +0800

Seen: 45 times

Last updated: Jun 04 '14

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