dfalkowitz Posted February 13, 2012 Share Posted February 13, 2012 Is there a way to shrink variable text fields to fit within a Table Cell? Link to comment Share on other sites More sharing options...
esmith Posted February 13, 2012 Share Posted February 13, 2012 By "shrink to fit" do you mean reduce point size or truncate field value? Link to comment Share on other sites More sharing options...
dfalkowitz Posted February 13, 2012 Author Share Posted February 13, 2012 Thanks for reply - reduce point size... Link to comment Share on other sites More sharing options...
Dan Korn Posted February 13, 2012 Share Posted February 13, 2012 Not really. Tables are designed so that cells grow to accommodate their contents, not the other way around. That said, you could use the FusionProTextMeasure object and <magnify> tags in a loop, kind of like the CopyfitLine function, until the text is the size you want. But how do you know the size of the table cell you're targeting in the first place? The other thing to consider would be a Repeatable Component, where you can basically define a reusable fixed-size area into which you can place a text frame, which in turn can have Copyfit enabled. Link to comment Share on other sites More sharing options...
dfalkowitz Posted February 13, 2012 Author Share Posted February 13, 2012 Thanks Dan! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.