Issue 11478

Title
Always include label for all form widgets
Priority
feature
Status
unread
Nosy list
acaubet, ced, dave
Assigned to
Keywords

Created on 2022-05-12.12:56:06 by ced, last changed 3 months ago by dave.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-05-12.12:56:06

For now we must put a <label/> tag for many widget otherwise they do not have one shown. This makes extension sometimes complex because we can break the alignment on a single line between the label and the field.
I think we should allow to create form for which each field will always have a label in the same cell.
As it would be a major change and because we may want to have the current design for some views, we should have an option on the <form/> to display or not label inside the field.

On sao, we could use the bootstrap form layout and when we upgrade to bootstrap 5, the floating label.

On tryton, we could use a Gtk.Frame with the field label as label. And for checkbox we just use a Gtk.HBox with the label next to the checkbox.

History
Date User Action Args
2022-08-12 12:30:43davesetnosy: + dave
2022-05-12 13:07:51acaubetsetnosy: + acaubet
2022-05-12 12:56:06cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)