-
Notifications
You must be signed in to change notification settings - Fork 35
BPartner/Location/Contact widget layout issue #568
Comments
Hi @damianprzygodzki yes thats fine, thx. |
thanks for take care. i think we need more info in order to decide. Wondering how i are layouting those "composed" widgets? |
In my opinion we should define one consistent layout for all lookups. Or some rules, how to resize that.
|
It shouldnt be. At all i think. As i said, it should be generic and consistent rule. EDIT: If you really want to decide from API about ratio, we can create some property in layout for widgets like size or ratio but in my opinion it is redundant and not complex for other widgets layouting.
I do not distinguish. I am dividing it roughly 1:1 (the text input and container for rest fields) but leaving it to be flexible with rules:
|
I would also ask Mark about this.
I somehow have the feeling that 2. and 3. would have a different layout... |
I guess that /layout shall define how many fields there will be. I.e. if you have BusinessPartner with 3 fields and InvoicePartner with 2 fields but first two are corresponding to BusinessPartner – if you want them to see identically you should send layout with three fields and always keep 3rd empty. It's kind obvious that in case of Product/PackingMaterial (always 2) we want to have 2nd field maxed to right instead of centered. Current implementation on front-end is this way PROPER. It's up to API's /layout how to render it. |
The API is sending them as you described. |
@teosarca @damianprzygodzki @cadavre |
Closing due to revamp in #600 . |
Current behavior
When the Contact is missing the Location is aligned to the right, were usually the contact shall be.
Expected behavior
Always preserve the location position (i.e. keep it in the middle).
Steps to reproduce
The text was updated successfully, but these errors were encountered: