Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#172 closed bug (fixed)

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

Reported by: Guillaume Boesel Owned by: Thore Böckelmann
Priority: undecided Milestone:
Component: Register.mui Version: 4.0-2015R1
Severity: minor Keywords:
Cc: OS Platform: AmigaOS3
Blocked By: Blocking:
Release Notes:

Readded the MUIA_Text_SetMin attribute to set no minimum width for the old style register tab titles.

Description

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'

Attachments (3)

PreviousMUI.JPG (456.7 KB) - added by Guillaume Boesel 4 years ago.
Previous MUI version 20.6294. Tabs OK window resising OK.
LatestMUI.JPG (463.4 KB) - added by Guillaume Boesel 4 years ago.
Latest stable MUI version 20.6373. Window resising KO.
LatestSVNMUI.JPG (442.1 KB) - added by Guillaume Boesel 4 years ago.
Latest nighty build MUI version 20.6391. Window resising KO.

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by Guillaume Boesel

Attachment: PreviousMUI.JPG added

Previous MUI version 20.6294. Tabs OK window resising OK.

Changed 4 years ago by Guillaume Boesel

Attachment: LatestMUI.JPG added

Latest stable MUI version 20.6373. Window resising KO.

Changed 4 years ago by Guillaume Boesel

Attachment: LatestSVNMUI.JPG added

Latest nighty build MUI version 20.6391. Window resising KO.

comment:1 Changed 4 years ago by Mikhail Malyshev

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.

comment:2 Changed 4 years ago by Thore Böckelmann

Owner: set to Thore Böckelmann
Resolution: fixed
Status: newclosed

In 4570:

  • Register.c: readded the MUIA_Text_SetMin attribute to set no minimum width for the tab titles. This closes #172.

comment:3 Changed 4 years ago by Thore Böckelmann

OS Platform: AmigaOS4AmigaOS3
Release Notes: modified (diff)

comment:4 Changed 4 years ago by Thore Böckelmann

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.

comment:5 Changed 4 years ago by Guillaume Boesel

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

Note: See TracTickets for help on using tickets.