Page 1 of 1
Space would be nice
Posted: 2020-04-16 14:41
by kanklovitch
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.
Re: Space would be nice
Posted: 2020-04-30 15:55
by jsetzer
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
Re: Space would be nice
Posted: 2020-04-30 16:02
by jsetzer
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.
Re: Space would be nice
Posted: 2020-05-05 16:48
by kanklovitch
Hi Jan
I will try your suggestions this evening thankyou
Ken
Re: Space would be nice
Posted: 2020-08-16 19:35
by jsetzer
Can you please give some feedback, Ken?