No idea how I can reduce the space between the bullet and text ?
Many help for your help

Hi @ade212
There's no option to adjust this spacing that I can find in PowerPoint.
The default is a normal looking amount though:

Hi @ade212 ,
Ah, you found it. Paragraph indent does adjust that space. I'm already using a default for that value, and that's what you're looking to adjust. Looking at the colored bullets above, those various indent levels are this default * 1, etc.
Try adjusting the value on line 3336: var bulletLvl0Margin = 342900;
914400 is one inch, so the default being used is about 1/3 of an inch.
Hi @gitbrent ,
In order to provide an easier way to change this value for the spacing between the bullet and the text, I created a new variable and changed some code in you library so I can change this from my script. Here are the modifications done in case somebody else is looking for a solution:
/** @type {Number} global variable to define the default indent space, also used for space between bullet and text */
gObjPptx.defaultIndentSize = 342900;
var bulletLvl0Margin = 342900;
replace with:
var bulletLvl0Margin = gObjPptx.defaultIndentSize;
/**
* Sets the Presentation's default Indent size
*/
this.setDefaultIndentSize = function setDefaultIndentSize(intSize) {
gObjPptx.defaultIndentSize = intSize || 342900;
};
After this, you can use it in your script like:
var pptx = new PptxGenJS();
// set the default indent size to be around 1/5 of an inch (0.18 inch)
pptx.setDefaultIndentSize(171450);
Best Regards,
Adrian
This would be valuable as an option or a function I can call without changing the code.
No idea how I can reduce the space between the bullet and text ?
Many help for your help
need help, unable to resolve this issue
@skittishsahil


Most helpful comment
This would be valuable as an option or a function I can call without changing the code.