aboutsummaryrefslogtreecommitdiff
path: root/works/life/question-pptx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-13 15:01:29 +0800
committercrupest <crupest@outlook.com>2020-10-13 15:01:29 +0800
commita8e4766c95e86ff2c48f0d17bf5060eccd70b249 (patch)
treea4805f93523578d7271f07dfdef1536629944c99 /works/life/question-pptx
parentdfbc0ab51d29d2d175e03134229669f8fc91280b (diff)
downloadcrupest-a8e4766c95e86ff2c48f0d17bf5060eccd70b249.tar.gz
crupest-a8e4766c95e86ff2c48f0d17bf5060eccd70b249.tar.bz2
crupest-a8e4766c95e86ff2c48f0d17bf5060eccd70b249.zip
import(life): (question-pptx): Relayout.
Diffstat (limited to 'works/life/question-pptx')
-rw-r--r--works/life/question-pptx/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/works/life/question-pptx/main.py b/works/life/question-pptx/main.py
index 618efa6..b854060 100644
--- a/works/life/question-pptx/main.py
+++ b/works/life/question-pptx/main.py
@@ -49,8 +49,8 @@ for question in questions:
slide: pptx.slide.Slide = presentation.slides.add_slide(
presentation.slide_layouts[6])
- title = slide.shapes.add_textbox(Pt(20), Pt(25), Pt(680), Pt(50))
- problem = slide.shapes.add_textbox(Pt(20), Pt(80), Pt(680), Pt(380))
+ title = slide.shapes.add_textbox(Pt(20), Pt(40), Pt(680), Pt(50))
+ problem = slide.shapes.add_textbox(Pt(20), Pt(120), Pt(680), Pt(350))
answer = slide.shapes.add_textbox(Pt(560), Pt(450), Pt(40), Pt(40))
if question['type'] == 'c':