Hi,
Has anyone else tried using the new code snippets in tables?
I have an issue where long expressions in a code snippet destroy the column widths for my table.
If I have a long expression in a code snippet in normal text, I get a scrollbar in the code snippet, so the user can scroll to see the rest of the expression.
If I have a long expression in a code snippet in a table, there is no scrollbar, and all other columns get squashed and the expression is cut off.
Table properties are set to AutoFit to window and the column widths are percentages (i.e. in the above example, the column widths are 20% 40% 40%).
I have tried making changes in the main stylesheet and the table stylesheet, to no avail. If I add Overflow: scroll to the code snippet styles, I always get a scroll bar on all code snippets, and it doesn't do anything. If I add it to the table stylesheet, nothing changes. I also tried Overflow: auto, but that also did nothing.
Am I looking in the right place? Is it a stylesheet thing or something else? Or is it a bug?
FYI, My project is a top nav HTML5 output.
Would appreciate any thoughts or advice.
Code snippets in tables
Code snippets in tables
You do not have the required permissions to view the files attached to this post.
-
- Senior Propellus Maximus
- Posts: 2630
- Joined: Wed Apr 14, 2010 8:01 am
- Location: Surrey, UK
Re: Code snippets in tables
Does sound a bit like a bug, but tables can be really tricky things.
My first suggestion is to raise a bug - Tech Support will soon tell you if it's not actually a bug, and you will (hopefully) receive a solution to the problem. If it IS a bug, then if they have a workaround they'll tell you.
My first suggestion is to raise a bug - Tech Support will soon tell you if it's not actually a bug, and you will (hopefully) receive a solution to the problem. If it IS a bug, then if they have a workaround they'll tell you.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Re: Code snippets in tables
OK - thanks ChoccieMuffin.
Bug raised ... #S019841.
Bug raised ... #S019841.
-
- Propellus Maximus
- Posts: 608
- Joined: Wed Feb 01, 2006 6:21 am
- Location: Off in the dark....
Re: Code snippets in tables
I'm responding to an old post. I was just looking up how to accomplish that.
Add this override to your CSS and it'll restrict the width to that of the table cell.
Add this override to your CSS and it'll restrict the width to that of the table cell.
Code: Select all
MadCap|codeSnippetBody.table
{
width: 100%;
overflow: scroll;
}
Trent.
Certifiable.
umm...
I meant MAD Certified.
Official Propeller Beanie Owner
Are you on Flare's Slack channels? PM me for an invitation!
Certifiable.
umm...
I meant MAD Certified.
Official Propeller Beanie Owner
Are you on Flare's Slack channels? PM me for an invitation!