Add an option to make controls on a display form smaller
Controls on a display form in Web now always take 100% of the available width.
In most cases, this is good enough, but there are times when I really want them smaller. An example would be a numeric input that has at most 3 digits, or a textbox with just a few characters. Displaying a form in a wider container than the default one makes this worse.
A workaround to make a control smaller is to put an empty text element to the right of it, but it's a bit of a hassle.
It would be nice to have an option to set the width of a control to something other than 100%. IIRC this was also possible in GVH
-
I'm hoping that VertiGIS is secretly planning on adding a columns section, or making the option for a section to layout vertically and allow nesting kind of like how Web lays things out. I've suspected that they're building towards this for a bit, it kind of looks like a step-by-step path toward such a thing though maybe they're satisfied for now with the newish ability to auto-split a row by its elements.
Anyway, if you guys are doing such a thing and see this, it would be very cool to expose height, width, and their maxima (or flex-grow, -basis) in a section.
Berend: IDK how much you've played with the forms and Inject CSS but I would dip my toes in. They've added element id's to classes for top(-ish) level HTML elements and made it pretty easy to bind to a specific form element. I think this is easier, more consistent, and more flexible than relying on phantom form elements to force sizing, but that's just me.
0 -
There is work underway to move all Workflow form elements to use our MUI5 rendering (shared with Web). There was a recent conversation about the width of inputs, we will have another look once we get everything ported over.
0
Please sign in to leave a comment.
Comments
2 comments