Hello,
a little bug report. Labels have a different spacing for look-ups than for lists.
http://managersystem.de/!/2020-08-05_224351.png
Best regards, Kai
label spacing bug
Re: label spacing bug
Hi,
question: is this a multi-column layout according to the docs here? https://appgini.bizzworxx.de/products/j ... mn-layout/
If yes, I am wondering where the left-aligned labels come from, ...
... as the default multi-column-layout does NOT wrap labels on medium or large displays:
Howewer, you can check the css style and adjust bottom margin the way you like. But I guess this is not a problem of label-margin but a problem of different control-heights.
Aditionally, there was another thread related to layout here:
viewtopic.php?f=13&t=3515&p=12669&hilit=layout#p12669
Maybe this helps.
And there is a how-to which might also help:
https://appgini.bizzworxx.de/appgini/ho ... -inlining/
Regards,
Jan
question: is this a multi-column layout according to the docs here? https://appgini.bizzworxx.de/products/j ... mn-layout/
If yes, I am wondering where the left-aligned labels come from, ...
... as the default multi-column-layout does NOT wrap labels on medium or large displays:
Howewer, you can check the css style and adjust bottom margin the way you like. But I guess this is not a problem of label-margin but a problem of different control-heights.
Aditionally, there was another thread related to layout here:
viewtopic.php?f=13&t=3515&p=12669&hilit=layout#p12669
Maybe this helps.
And there is a how-to which might also help:
https://appgini.bizzworxx.de/appgini/ho ... -inlining/
Regards,
Jan
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: label spacing bug
Hello Jan,
thanks very much. Yes, i tried .wrapLabels(); in multi-column-layout - what works.
It would work with the dropdown fix, but then the field has a delay in loading the page.
Please have also a look at text fields in tabs (html). they have no height.
It would also be great if I could not just put fields above or below tabs, but both at the same time.
Best regards, Kai
thanks very much. Yes, i tried .wrapLabels(); in multi-column-layout - what works.
It would work with the dropdown fix, but then the field has a delay in loading the page.
Please have also a look at text fields in tabs (html). they have no height.
It would also be great if I could not just put fields above or below tabs, but both at the same time.
Best regards, Kai
Re: label spacing bug
The custom tabs have a unique id.It would also be great if I could not just put fields above or below tabs, but both at the same time.
Code: Select all
<div id="appginihelper-detailview-tabs" ...
...
<div>
Helpful jQuery functions
- insertBefore()
- insertAfter()
- prependTo()
- appendTo()
Regards,
Jan
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: label spacing bug
Hello Jan,
thanks very much. I
Unfortunately I can't do it.
Is it correct that way?
Thanks very much, Kai
thanks very much. I
Unfortunately I can't do it.
Is it correct that way?
Code: Select all
dv.getTabs (). setPosition (TabPosition.Top);
dv.getField ("status"). insertBefore (). appginihelper-detailview-tabs ();
Re: label spacing bug
No, using jQuery for moving elements around is not a built-in AppGini Helper JS function.[...] use jQuery [...]
Helpful jQuery functions
- insertBefore()
https://api.jquery.com/insertBefore/ - insertAfter()
https://api.jquery.com/insertAfter/ - prependTo()
https://api.jquery.com/prependTo/ - appendTo()
https://api.jquery.com/appendTo/
Attention
In AppGini hooks you have to replace "$" by "$j"
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: label spacing bug
Quick and dirty example...
Before
Code
After
Before
Code
Code: Select all
// file: hooks/TABLENAME-dv.js
let field_tag = $j("#tag").closest(".form-group");
let field_status_icon = $j("#status_icon").closest(".form-group");
let target = $j("#appginihelper-detailview-tabs");
field_tag.insertBefore(target);
field_status_icon.insertAfter(target);
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: label spacing bug
Thank you very much!
Best regards, Kai
Best regards, Kai
SOLVED: label spacing bug
Another question.
Can i combine that with a layout 6/6? I need two fields in two columns before the tabs.
It would be great for future updates of your scripts if i could set fields before and after tabs
Thanks very much, Kai
Can i combine that with a layout 6/6? I need two fields in two columns before the tabs.
It would be great for future updates of your scripts if i could set fields before and after tabs
Thanks very much, Kai
Re: label spacing bug
As mentioned before, you can use jQuery to move any element.
I recommend reading about jQuery selectors:
This will give you the power to find and then move around any element you want.
I recommend reading about jQuery selectors:
This will give you the power to find and then move around any element you want.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
SOLVED: label spacing bug
OK. thank you very much. I'll find out for myself with this help.
But unfortunately it doesn't work in connection with your script .dropdown (). Fix (); as it seems.
Best regards, Kai
But unfortunately it doesn't work in connection with your script .dropdown (). Fix (); as it seems.
Best regards, Kai
SOLVED: label spacing bug
Sorry. Will work. my mistake.
Thanks Kai
Thanks Kai