I'm new in work with python pptx and I need to alignment the title text. I was written this code bellow code:
from PIL import Image
from pptx import Presentation
from pptx.chart.data import CategoryChartData
from pptx.enum.chart import XL_CHART_TYPE
from pptx.util import Inches
prs = Presentation()
slide = prs.slides.add_slide(prs.slide_layouts[5])
prs.slide_width = Inches(16)
prs.slide_height = Inches(9)
title = slide.shapes.title
title.text="KBS User Activity"
But as you can see in the picture the title is not aligned on the left. Do you have a solution for this?
