amiga-mui / muidev

:mage_man: Magic User Interface (MUI) – Documentation+Releases
http://muidev.de
55 stars 0 forks source link

Strings in RegisterGroup no more hidden when too long with latest MUI (svn4484) and nighty build (svn4569) #172

Closed jens-maus closed 9 years ago

jens-maus commented 9 years ago

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'

jens-maus commented 9 years ago

zzd10h uploaded file PreviousMUI.JPG (456.7 KiB):

Previous MUI version 20.6294. Tabs OK window resising OK. PreviousMUI.JPG

jens-maus commented 9 years ago

zzd10h uploaded file LatestMUI.JPG (463.4 KiB):

Latest stable MUI version 20.6373. Window resising KO. LatestMUI.JPG

jens-maus commented 9 years ago

zzd10h uploaded file LatestSVNMUI.JPG (442.1 KiB):

Latest nighty build MUI version 20.6391. Window resising KO. LatestSVNMUI.JPG

jens-maus commented 9 years ago

Michael commented:

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.

jens-maus commented 9 years ago

@tboeckel changed status from new to closed

jens-maus commented 9 years ago

@tboeckel set owner to tboeckel

jens-maus commented 9 years ago

@tboeckel set resolution to fixed

jens-maus commented 9 years ago

@tboeckel commented:

In amiga-mui/mui@7d6c816319551dfc29c340c2bd2c27539b2bf17e:

jens-maus commented 9 years ago

@tboeckel changed platform from AmigaOS4 to AmigaOS3

jens-maus commented 9 years ago

@tboeckel commented:

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.

jens-maus commented 9 years ago

zzd10h commented:

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 ;)