column width

Started by poetasandaluces, September 14, 2019, 10:03:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

poetasandaluces

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


Liviu Lalescu

Hello, Juanma, and welcome to the forum!

Volker is in charge with this. I will tell him to answer if this is possible.

Volker Dirr

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

poetasandaluces

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

Volker Dirr

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!).

poetasandaluces

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?

Volker Dirr

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.

poetasandaluces