[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vtcl-user
Subject:    [vtcl-user] Can tktable automatically resize row height to allow viewing of w
From:       "Bartis, Robert M (Bob)" <bartis () lucent ! com>
Date:       2003-10-16 14:52:36
[Download RAW message or body]

I am trying to display data within a tktable that is larger than the column width \
allows. The code below is correctly wrapping the text within the cell, but does not \
automatically resize the row height to allow the users to easily read its contents. \
Is there an option or set of methods that can be employed to automatically resize the \
row height based on text being inserted.  
Thank
Bob
 
 
# Configure all columns to stretch when window is resized
fieldDataTable configure -colstretchmode unset
fieldDataTable configure -justify left
 
# Create tag for message column to support multi-line entries
fieldDataTable tag config msgColumn -wrap 1 -justify left -multiline 1
fieldDataTable tag col msgColumn 5

Robert M. Bartis 
Lucent Technologies ¢ 
Room HO 1C-413A (HO) / 1B-304 (WH) 
( 732.949.4565 (HO) / 973.386.6739 (WH)

* bartis@lucent.com 

 


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4930.1700" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=912223814-16102003>I am trying to 
display data within a tktable that is larger than the column width allows. The 
code below is correctly wrapping the text within the cell, but does not 
automatically resize the row height to allow the users to easily read its 
contents. Is there an option or set of methods that can be employed to 
automatically resize the row height based on text being 
inserted.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=912223814-16102003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=912223814-16102003>Thank</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=912223814-16102003>Bob</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=912223814-16102003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># Configure all columns to stretch when window is 
resized<BR>fieldDataTable configure -colstretchmode unset<BR>fieldDataTable 
configure -justify left</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial><FONT size=2># Create tag for message column to support 
multi-line entries<BR>fieldDataTable tag config msgColumn -wrap 1 -justify left 
-multiline 1<BR>fieldDataTable tag col msgColumn&nbsp;<SPAN 
class=912223814-16102003>5</SPAN></FONT></FONT></DIV>
<DIV class=Section1>
<P style="MARGIN-LEFT: 0.5in"><B><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma; mso-bidi-font-size: \
7.5pt">Robert  M. Bartis</SPAN></B> <BR><B><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma">Lucent 
Technologies</SPAN> </B><B><SPAN 
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Wingdings">¢</SPAN></B> 
<BR><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: 'Comic Sans MS'">Room 
H</SPAN><SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma">O</SPAN> <SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma">1C-413A (HO) / 1B-304 
(WH)</SPAN> <BR><SPAN 
style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: Wingdings">(</SPAN> <SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma; mso-bidi-font-size: \
7.5pt">732.949.4565  (HO) / 973.386.6739 (WH)</SPAN></P>
<P style="MARGIN-LEFT: 0.5in"><SPAN 
style="FONT-SIZE: 10pt; COLOR: fuchsia; FONT-FAMILY: Wingdings">*</SPAN> <SPAN 
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma; mso-bidi-font-size: \
7.5pt">bartis@lucent.com</SPAN>  </P></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
vtcl-user mailing list
vtcl-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vtcl-user

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic