Space would be nice

This sub-forum is for discussing all topics related to AppGini Helper JavaScript Library, provided by bizzworxx as a third-party AppGini plugin.
Post Reply
kanklovitch
Veteran Member
Posts: 159
Joined: 2019-02-03 17:26

Space would be nice

Post by kanklovitch » 2020-04-16 14:41

Hi Jan
Is this possible/ I want these just like they are below the tabs?

Thanks, I am really looking forward to your plug-ins enhancements.
Attachments
space.jpg
space.jpg (33.5 KiB) Viewed 10651 times

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1817
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Space would be nice

Post by jsetzer » 2020-04-30 15:55

Hi,
for additional space between buttons you can simply add the css class vspacer-md like this:

Code: Select all

$j(ID_OF_THE_BUTTON).addClass("vspacer-md");
The Id's are:
  • #update
  • #deselect
  • #dvprint
  • #delete
  • #insert

For inserting space below the print preview button, for example, put the following jQuery code into hooks/TABLENAME-dv.js:

Code: Select all

$j(#dvprint).addClass("vspacer-md");
Is this what you wanted to achieve?

Best,
Jan
Kind regards,
<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 readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1817
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Space would be nice

Post by jsetzer » 2020-04-30 16:02

For additional space before fields you can use the following code:

Code: Select all

$j("#FIELDNAME").closest(".form-group").addClass("vspacer-md");
For certain datatypes this will not work. For example Radio Buttons need a different jQuery selector:

Code: Select all

$j("[name='FIELDNAME']").closest(".form-group").addClass("vspacer-md");
Attention: This may not work for dynamically created fields (like lookups) because those will be created after page has loaded.
Kind regards,
<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 readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

kanklovitch
Veteran Member
Posts: 159
Joined: 2019-02-03 17:26

Re: Space would be nice

Post by kanklovitch » 2020-05-05 16:48

Hi Jan
I will try your suggestions this evening thankyou

Ken

User avatar
jsetzer
AppGini Super Hero
AppGini Super Hero
Posts: 1817
Joined: 2018-07-06 06:03
Location: Kiel, Germany
Contact:

Re: Space would be nice

Post by jsetzer » 2020-08-16 19:35

Can you please give some feedback, Ken?
Kind regards,
<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 readability

AppGini 24.10 Revision 1579 + all AppGini Helper tools

Post Reply