FET Forum

FET Development => Suggestions => Topic started by: infoo_ on February 16, 2026, 11:13:35 PM

Title: Misaligned elements in multiple generation window
Post by: infoo_ on February 16, 2026, 11:13:35 PM
Hello

I want to post a small design request.

In the multiple generation window (Ctrl + H), the first tab has some misaligned elements, that is:

"Current timetable... Max placed activities..." string is aligned a bit to the right.

"Pause/Restart" buttons are aligned a bit to the center of the window (both horizontal and vertical distances are closer to the center. In the picture below, only horizontal distance is shown).

Picture:

Misaligned elements in Generate multiple timetables window.png

You can see it better by alternating with mousewheel when doing multiple generation. I tested with 8 threads and it seems it only affects the first tab.

Thank you!
Title: Re: Misaligned elements in multiple generation window
Post by: Liviu Lalescu on February 17, 2026, 07:15:42 AM
Yes, thank you, we know, but we cannot fix this.  :)
Title: Re: Misaligned elements in multiple generation window
Post by: infoo_ on February 17, 2026, 01:34:48 PM
Where is the source code for this window? Maybe I can lend a hand
Title: Re: Misaligned elements in multiple generation window
Post by: Liviu Lalescu on February 17, 2026, 02:01:51 PM
Thanks! src/interface/timetablegeneratemultiple .ui and .cpp, search for string timetablesTabWidget.
Title: Re: Misaligned elements in multiple generation window
Post by: infoo_ on February 17, 2026, 02:41:22 PM
Thank you! I will take a look
Title: Re: Misaligned elements in multiple generation window
Post by: Liviu Lalescu on February 17, 2026, 02:43:07 PM
You're welcome!

The thing is that the initial QTabWidget has a single tab (in Qt Designer - ui file), and then programmatically we add more tabs (C++ code).