Auto column width heuristic and local resolutions

This forum is for all Flare issues related to styles, stylesheets and XML.

Auto column width heuristic and local resolutions

Postby Niels on Thu Jun 07, 2018 10:40 pm

Who can explain the auto column width heuristic? It is not satisfactory to me.
The screenshots show one disgusting example that I do not understand. Is there any kind of "neural network parameter" to apply for optimization?

One simple trick I learned is to pick the column with the content of the greatest width that I do not want to break and use non-breaking elements to achieve my desired layout.
An issue I still have is the absence of a non-breaking underscore.
You do not have the required permissions to view the files attached to this post.
Niels
Propeller Head
 
Posts: 77
Joined: Thu Dec 15, 2016 8:41 am
Location: Stuttgart

Re: Auto column width heuristic and local resolutions

Postby ChoccieMuffin on Fri Jun 08, 2018 6:31 am

I share your pain. Autowidth just does its own thing, and the non-breaking underscore gets my goat too.

No answers, just empathising. Have a good Friday. :)
Started as a newbie with Flare 6.1, now using Flare 2019r1.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2147
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Auto column width heuristic and local resolutions

Postby Niels on Tue Jun 04, 2019 6:38 pm

Autowidth is not the only issue. Why can't we really fix width, either? I have a lot of tables, where I'd be happy to apply a fixed width as a workaround. But in print, it just does not want to listen to our commands...
Niels
Propeller Head
 
Posts: 77
Joined: Thu Dec 15, 2016 8:41 am
Location: Stuttgart

Re: Auto column width heuristic and local resolutions

Postby ChoccieMuffin on Wed Jun 05, 2019 7:54 am

Have you tried defining table stylesheets and applying them to your tables rather than relying on Flare to do things?
Started as a newbie with Flare 6.1, now using Flare 2019r1.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2147
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Auto column width heuristic and local resolutions

Postby Niels on Fri Jun 07, 2019 6:24 am

Yes, we do use table stylesheets also in the cases where the issues occur.

fix column width in print.png

fix column width in print - even total width fixed.png

fix column width in print - outcome in PDF.png
You do not have the required permissions to view the files attached to this post.
Niels
Propeller Head
 
Posts: 77
Joined: Thu Dec 15, 2016 8:41 am
Location: Stuttgart

Re: Auto column width heuristic and local resolutions

Postby Niels on Sat Jun 08, 2019 8:19 pm

I must admit that I don't know why I am "relying on Flare to do things" when I manually want to set a fixed width.
Is there anyone out there who could explain?
Niels
Propeller Head
 
Posts: 77
Joined: Thu Dec 15, 2016 8:41 am
Location: Stuttgart

Re: Auto column width heuristic and local resolutions

Postby Psider on Mon Jun 10, 2019 5:36 pm

I always used % widths for my tables with reasonable success (typically I used 25 75 and 20 20 60). So you could try percentages rather than fixed pixel widths and see how that goes.

On a side note, I couldn't say for sure, but probably you are fighting standard HTML/CSS table behaviour. Read the text in "Default Tables are Weird" , especially the 4th example table - I had a little giggle at the wording, but it does seem to illustrate the issue you see with 'auto'.

(I couldn't comment on whether the fixed layout option discussed in the article would work with Flare, given that what html/css elements are support in the pdf conversion is a black box as far as I can tell.)
Psider
Propellus Maximus
 
Posts: 596
Joined: Wed Jul 06, 2011 1:32 am

Re: Auto column width heuristic and local resolutions

Postby ChoccieMuffin on Tue Jun 11, 2019 2:47 am

Psider wrote:I always used % widths for my tables with reasonable success (typically I used 25 75 and 20 20 60). So you could try percentages rather than fixed pixel widths and see how that goes.

On a side note, I couldn't say for sure, but probably you are fighting standard HTML/CSS table behaviour. Read the text in "Default Tables are Weird" , especially the 4th example table - I had a little giggle at the wording, but it does seem to illustrate the issue you see with 'auto'.

(I couldn't comment on whether the fixed layout option discussed in the article would work with Flare, given that what html/css elements are support in the pdf conversion is a black box as far as I can tell.)


Can you give a link to the article you're talking about, psider? Sounds worth a read.
Started as a newbie with Flare 6.1, now using Flare 2019r1.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
ChoccieMuffin
Senior Propellus Maximus
 
Posts: 2147
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: Auto column width heuristic and local resolutions

Postby Psider on Tue Jun 11, 2019 3:32 am

Oops. Copy paste error. Emphasis on paste error :P

https://css-tricks.com/fixing-tables-long-strings/
Psider
Propellus Maximus
 
Posts: 596
Joined: Wed Jul 06, 2011 1:32 am

Re: Auto column width heuristic and local resolutions

Postby Niels on Wed Jun 19, 2019 5:50 pm

Thank you all for any suggestions. I will try harder, again and again. Still this is my QUESTION to the MADWORLD:
I am already deep in the process of trying to find workarounds. I know that CSS and the inheritance rules are complex. What I will never ever accept and understand is that I cannot set a fixed width to manually override any other outer space...
The fact that I am trying to set a fixed width (as a workaround) is already sad.
The fact that this is not possible is a "GAU".
Niels
Propeller Head
 
Posts: 77
Joined: Thu Dec 15, 2016 8:41 am
Location: Stuttgart


Return to Styles, Stylesheets and XML

Who is online

Users browsing this forum: No registered users and 1 guest