FET Forum

FET Support (English) => Tips and Tricks => Topic started by: poetasandaluces on September 14, 2019, 10:03:04 AM

Title: column width
Post by: poetasandaluces on September 14, 2019, 10:03:04 AM
Could anyone advise me on how to set column width fixed once the timetable has been generated and ready to print? I can't find any file where I can see that. I'd really appreciate any help.

Thanks in advance,

Juanma

Title: Re: column width
Post by: Liviu Lalescu on September 14, 2019, 10:08:02 AM
Hello, Juanma, and welcome to the forum!

Volker is in charge with this. I will tell him to answer if this is possible.
Title: Re: column width
Post by: Volker Dirr on September 14, 2019, 10:18:43 AM
Please check the fet-results folder. There is a css file included. You need to open it with an editor.
See:
https://www.timetabling.de/manual/FET-manual.en.html#id_45

You need to modify "th.xAxis".
See:
https://www.timetabling.de/manual/FET-manual.en.html#id_87
Title: Re: column width
Post by: poetasandaluces on September 14, 2019, 10:55:18 AM
Thank you both for your answers. However, I have set the values to 12 and still the width varies in almost every column. Am I missing something? How can I set up a fixed value for each column?

Juanma
Title: Re: column width
Post by: Volker Dirr on September 14, 2019, 11:06:17 AM
I bet you saved the file, i also bet you reloaded the html file.

I guess some cells need to much information. The information doesn't fit into "12". So it will set a higher value for that columns. So "12" is too small (or the data in some cells of that large columns is too big. Use shortcuts as names!).
Title: Re: column width
Post by: poetasandaluces on September 14, 2019, 11:16:47 AM
Thank you very much for your interest. I'll do that. When I print the timetables I do it from the interface. Is it better than printint directly the .html files? I guess it doesn't make any difference, does it?
Title: Re: column width
Post by: Volker Dirr on September 14, 2019, 11:24:28 AM
ah. ok. That is your bug. You can't modify it for the interface. Qt doesn't support changing the width.
You must print it by a webbrowser if you want to change the width.
Title: Re: column width
Post by: poetasandaluces on September 14, 2019, 11:28:53 AM
Thank you!

Juanma