Closed jens-maus closed 9 years ago
PreviousMUI.JPG
(456.7 KiB):Previous MUI version 20.6294. Tabs OK window resising OK.
LatestMUI.JPG
(463.4 KiB):Latest stable MUI version 20.6373. Window resising KO.
LatestSVNMUI.JPG
(442.1 KiB):Latest nighty build MUI version 20.6391. Window resising KO.
IMHO: When a tool has too many tabs it has a chance of not fitting the screen, and the only solution is to add some shuffle arrows to tabs to list them (like modern browsers do eg.FireFox) The question is if it can be done automatically by MUI engine or needs to be supported explicitly by the application.
In amiga-mui/mui@7d6c816319551dfc29c340c2bd2c27539b2bf17e:
Considering the amount of tabs you are using you really should either restructure your GUI to use nested tab groups or better switch to the new Title.mui class which allows for an infinite number of tabs. If there are too many tabs which can be shown in the window scroll buttons will be added automatically. For compatibility reasons this is not done for the old Register.mui class. Hence the new class can only give you advantages and more flexibility.
Tested svn4570 with RegisterGroup, it works as before. Thank you
Tested latest stable MUI release (20.6373) by replacing Register by Title, it works too as before. I will keep the Title.mcc, Thank you again ;)
zzd10h created the issue:
Summary
Before the latest MUI stable version, when a string was too large in tabs of a RegisterGroup, there were cutted to allow to minimize the width of the window.
Now, starting with latest stable release (20.6373) and latest NightyBuild (20.6391), the tabs seems to be width fixed to fits the string length.
Steps to reproduce
With my own program, SysMon.
1) with version < 20.6373, for example, 20.6294, the tabs strings were cutted, it allowed me to resize my window to a smaller width
see attached PreviousMUI.JPG
2) with version >= 20.6373, the tabs width are equals to the string length, my window is larger than before.
see attached LatestMUI.JPG and LatestSVNMUI.JPG
Notes
But maybe that it was a bug in the previous version and that I will have to review my strings length ;)
Thank you Guillaume 'zzd10h'