Opened 8 months ago

Closed 5 weeks ago

#36079 closed Cleanup/optimization (fixed)

Size of the object's str in TabularInline is too small

Reported by: Antoliny Owned by: Antoliny
Component: contrib.admin Version: dev
Severity: Normal Keywords: inline, accessibility
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Antoliny)

I feel that the str of the object positioned above the form inside the TabularInline is too small.

(There is a significant difference in the object str representation between TabularInline and StackedInline.)
I think it would be better if the size were a bit larger or matches the size of StackedInline.

Attachments (3)

tabular_inline_object_str.png (43.1 KB ) - added by Antoliny 8 months ago.
inline_object_str_diff.png (28.7 KB ) - added by Antoliny 8 months ago.
inline_fields_layout.png (37.3 KB ) - added by Antoliny 8 months ago.

Download all attachments as: .zip

Change History (14)

by Antoliny, 8 months ago

comment:1 by Antoliny, 8 months ago

Owner: set to Antoliny
Status: newassigned

comment:2 by Antoliny, 8 months ago

Version: 5.1dev

by Antoliny, 8 months ago

Attachment: inline_object_str_diff.png added

comment:3 by Antoliny, 8 months ago

Description: modified (diff)

comment:4 by Antoliny, 8 months ago

Summary: Size of the object's str in inlineSize of the object's str in TabularInline

comment:5 by Sarah Boyce, 8 months ago

Keywords: accessibility added
Summary: Size of the object's str in TabularInlineSize of the object's str in TabularInline is too small
Triage Stage: UnreviewedAccepted
UI/UX: set

Agreed, this will likely need some input from the accessibility team

by Antoliny, 8 months ago

Attachment: inline_fields_layout.png added

comment:6 by Antoliny, 8 months ago

The main difference between TabularInline and StackedInline is the row/column arrangement of the fields.

Therefore, I don't think the headers of the forms inside TabularInline and StackedInline need to be in different formats. How about making the form headers inside both TabularInline and StackedInline the same style?
Even if they are the same, I believe the differences in their layouts (row/column) are enough to distinguish them. If they are the same, I personally prefer the header style of StackedInline😃(especially considering situations with many forms)

comment:8 by Antoliny, 6 weeks ago

Has patch: set

comment:9 by Antoliny, 6 weeks ago

Keywords: inline added; Inline Font removed

comment:10 by Sarah Boyce, 5 weeks ago

Triage Stage: AcceptedReady for checkin

comment:11 by Sarah Boyce <42296566+sarahboyce@…>, 5 weeks ago

Resolution: fixed
Status: assignedclosed

In 65377325:

Fixed #36079 -- Fixed text size of TabularInline object titles.

Note: See TracTickets for help on using tickets.
Back to Top