diff options
author | crupest <crupest@outlook.com> | 2020-10-13 15:01:29 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-10-13 15:01:29 +0800 |
commit | 168985733a799b4a83371da6b91a0a7969061b63 (patch) | |
tree | 9bbaeacb3cdb5a6fbdbdc463e64eee21e59efda3 /question-pptx/main.py | |
parent | 078dd432b73983e54b63179de7d59588994fac88 (diff) | |
download | life-168985733a799b4a83371da6b91a0a7969061b63.tar.gz life-168985733a799b4a83371da6b91a0a7969061b63.tar.bz2 life-168985733a799b4a83371da6b91a0a7969061b63.zip |
(question-pptx): Relayout.
Diffstat (limited to 'question-pptx/main.py')
-rw-r--r-- | question-pptx/main.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/question-pptx/main.py b/question-pptx/main.py index 618efa6..b854060 100644 --- a/question-pptx/main.py +++ b/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':
|