Saturday, November 18, 2006

Caption Table Update!

One of the cool things about having a blog is that you can get your thoughts out there and then people smarter than you can comment on them to help you improve! :-D Thus, I tip my hat to Nathan, who posted that "Minimum height on rows is your friend with caption tables." Indeed, I had to slap myself upside the head when I read that. Seems so obvious now! ;-)

To be honest, the one thing I didn't like on my form was the resizing of the caption table as you switch from one row to another. Normally, I'm pretty good with form layout, so it was frustrating. I guess I didn't think about it long enough. But I'll say this now...Minimum height IS your friend. As soon as I saw Nathan's comment, I went back to the form and made some quick updates. The new and improved version is below. Much nicer!

I've actually got some tables setup within the caption table itself to allow for coloring the caption headings and aligning things correctly, so it was a little tricky at first. Just remember to set the minimum height on the actual content part of your table and you should be good to go.

Have a great weekend everyone!

Labels: ,


By Blogger dogu, at 2:14 PM  


Just curious. You say to set the min height in the 'inside' tables. This is counter-intuitive to me.

If I set a min value in the caption table, it applies to every row of the caption table and, by default, keeps things lined up. One min value covers the whole table.

If I set the 'inner' tables, I need to set min heights in each table in each row of the caption table. If I have a 5 row caption table, that means I need to set 5 min heights.

I just tested it out and the logic seems to work. Did I miss something?

Good tip.


By Blogger Chris Blatnick, at 5:14 PM  

@Doug...You are absolutely right. You could just set the minimum height in the caption table. However, in this example, I have the background colored so that the "captions" are other than the system color. If the minimum height was set in this case on the caption table, the extra space would be colored blue, which visually would be gross. Thus, I place another table within each row of the caption table and make the background white and set the minimum height on this inside table. More work, yes, but it's worth it for the nice visual effect.

By Anonymous Sam Hale, at 11:58 PM  

hey All, I have just started in the area of lotus development and I have been playing around a bit with embedded views in a caption table, i was wondering if anyone has come up with a way so that the by default all the captions are closed/

By Blogger Chris Blatnick, at 11:03 AM  

@Sam...Sorry, but I don't think this is possible. It is similar to a tabbed table, in which one row will always be visible. I could think of one possible trick, however. You could create a graphic of the captions all collapsed and then place a hot spot on each row header that would toggle a hide-when formula to show the actual table and open the correct caption. Not sure if this would work, but it might be worth a try. :-)

Post a Comment

Links to this post:

Create a Link

<< Home