0

ZK6.02 - right align footer?

asked 2012-10-22 20:45:10 +0800

davout gravatar image davout
1429 3 18

I'm having problems trying to right align an '<A>' anchor component in a footer. Here's an extract from the ZUL...

<grid model="@load(vm.childPortfolioModel)">
	<auxhead>
		<auxheader colspan="3" />
		<auxheader colspan="3"
			label="Approved projects" align="center" />
		<auxheader label="All projects"
			colspan="3" align="center" />
	</auxhead>
	<columns>
		<column label="Child portfolio title" />
		<column label="Scenario" />
		<column label="Cost constraint" align="right" />
		<column label="Projects" align="right" />
	</columns>
	<foot>
		<footer span="2" />
		<footer id="problem">
			<a label="@load(vm.total.constraint)" onClick="@command('onClickTotalConstraint')" />
		</footer>
		<footer>
			<label value="@load(vm.total.approvedProjectCount)" />
		</footer>
	</foot>
</grid>
		


The second footer (id='problem') is left aligning for some reason. I've tried adding...
<footer class="class_right">
	<a label="@load(vm.total.constraint)" onClick="@command('onClickTotalConstraint')" />
</footer>


... and it still left aligns. Any suggestions?

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2012-10-24 09:53:02 +0800

aros54 gravatar image aros54
66

This works in my zul page: <footer style="text-align: right;">, but I have a <label/> as footer content.

Alternatively I would try to enclose the footer content into a <div align="rigth"></div>. Actually, I didn't try this solution... only I guess it should work.

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: 2012-10-22 20:45:10 +0800

Seen: 57 times

Last updated: Oct 24 '12

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