i figured out my problem.  there is a custom view for the content of each 
"cell" in the grid, which was too short and hence cutting off the font.
i'm still trying to figure out why the dividers to resize columns isn't showing 
up.  if i figure it out i'll repost my answer.

thanks,
augusto.

On Feb 15, 2012, at 8:47 AM, augusto callejas wrote:

> i'm using "verdanaBold.ttf" font that i'm including with my code.
> for reference, the grid shows up correct in openlaszlo 4.0 (before my code 
> upgrade):
> 
>   http://imgur.com/gzmIB
> 
> 
> here is a sample of the code.  its a large codebase so its just small 
> snippets.
> 
> betterGrid is a custom class that extends grid (it sets a default bgcolor0):
> ===
>                         <betterGrid id="myGrid" font="${canvas.msgFont.data}"
>                                         datapath="myGrid:/mySpots"
>                                         contentdatapath="spot" 
> width="${parent.width}"
>                                         height="${parent.height - 35}"
>                                         x="0" y="35" fontsize="12" 
> rowheight="30">
> 
> ===
> 
> betterGridText is a custom class that extends basegridcolumn:
> ===
>                                 <betterGridText width="${(parent.width - 250) 
> * (.10 + parent.pctInvisible / parent.visibleColumnCount)}"
>                                                 name="nameColumn" 
> textFont="${canvas.msgFont.data}"
>                                                 editable="false" 
> sortpath="@rowId">
> 
> ===
> 
> so in the 4.9 version:
> 
>   http://i.imgur.com/Xma0h.png
> 
> is there a vertical alignment i have to set in order for the text to show up 
> correctly?
> 
> also i noticed that in the 4.9 version, the grid columns don't have the 
> dividers that let me resize the columns.
> 
> thanks,
> augusto.
> 
> On Feb 15, 2012, at 1:37 AM, [email protected] wrote:
> 
>> Hi Augusto,
>> 
>> are you using a custom font in your text box? Maybe you could post a 
>> minimalistic sample code, that would make it easier to reproduce.
>> 
>> Sebastian
>> 
>> 2012/2/15 augusto callejas <[email protected]>
>> hi-
>> 
>> i recently upgraded from openlaszlo 4.0 to openlaszlo 4.9 and i'm finding 
>> some issues in rendering a table i'm displaying using <grid>.
>> here is a screenshot of some of the rows in the grid:
>> 
>>   http://i.imgur.com/Xma0h.png
>> 
>> the bottom half of all the text in each row seems to be cut off.  has anyone 
>> run into this problem or have any suggestions?
>> 
>> thanks,
>> augusto.
>> 
>> 
>> 
>> -- 
>> Sebastian Wagner
>> http://www.openmeetings.de
>> http://incubator.apache.org/openmeetings/
>> http://www.webbase-design.de
>> http://www.wagner-sebastian.com
>> [email protected]
> 

Reply via email to