The only candidate for displaying custom fields form is the select formats window. Since there is no more space available in this window, we can add tab set (like settings window) to this window and place all its content inside formats tab.
There is a new tab named custom fields which contains a custom fields form.
All fields in the form are based on the custom field definition stored in the saved file.
The most simplest form of the form (and also efficient in space usage) is a single aditable table which has 2 columns: 1st column is field name, and 2nd column is its value. Each row represents each custom field, so this table will grow vertically.
int and float field are represented by an number widget (like HTML <input type="number">). bool field is represented by a checkbox widget. string field is represented by a string widget (like HTML <input type="text">). text field is represented by a text widget (like HTML <textarea/>)
select formats
window. Since there is no more space available in this window, we can addtab set
(likesettings
window) to this window and place all its content insideformats
tab.custom fields
which contains a custom fields form.the saved file
.int
andfloat
field are represented by annumber widget
(like HTML<input type="number">
).bool
field is represented by acheckbox widget
.string
field is represented by astring widget
(like HTML<input type="text">
).text
field is represented by atext widget
(like HTML<textarea/>
)