0

Align Text

asked 2011-05-30 15:48:07 +0000

kikeskate gravatar image kikeskate
261 2

Hi ..

I want to seperate the lines when it shows


<?page title="Intermediate Results" contentType="text/html;charset=UTF-8"?>
<zk>

<style>
    body {  
           
           
          }		
</style>
	

<window title="Intermediate Results " width="850px" border="normal" height="350">	
		

		
	<zscript><![CDATA[

		import paquete.RandomAccessFileTexto;

		private void show(){
			RandomAccessFileTexto r = new RandomAccessFileTexto();
			String result = r.getText("C:\\Documents and Settings\\kike\\workspace\\HolaMundo\\src\\paquete\\archivo.log");
			lbl_result.setValue(result);
		}

	]]></zscript>
	<grid>		
				<rows>
					 
					<row align="center">
						<label value="Name of the log file" />
					 	<label value = "" id = "name_log"/>
					</row>
				
					<row align="center">
						<label value = "Last update "/>
						<label id = "l_update" />
					</row>		
					
					<row  align="center">
							<button label=" Process " width="90px" id = "" onClientInfo="" onClick="show()"/>
							
					</row>

			</rows>
				
		</grid>
		
		
		<grid>
		
			<rows>
				
				<row align="">
				
					<vlayout>
						<label id="lbl_result" multiline="true"/>
					</vlayout>
				
				</row>
					
			</rows>
		
		</grid>

</window>
</zk>

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-05-30 22:25:22 +0000

kikeskate gravatar image kikeskate
261 2

Does multiline not work


<textbox id="lbl_result" multiline= "true" width="1000px" height="500px" style="word-wrap: break-word;"/>

link publish delete flag offensive edit

answered 2011-05-31 13:32:02 +0000

kikeskate gravatar image kikeskate
261 2

I miss "/n" .. I get solution :)

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-05-30 15:48:07 +0000

Seen: 269 times

Last updated: May 31 '11

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