Skip to content

[Feature]: VPush() (Push()の上下方向版)を実装してほしい。 #114

Description

@t-yumo

Overview

VPush() (Push()の上下方向版)を実装してほしい。

Proposal

[Feature]: need justification #108 にてPush()による右寄せや中央寄せが可能となり便利に使っています。

そこでPySimpleGUIにあるVPush()機能も実装していただけますでしょうか。
こちらはPush()の上下方向版で下寄せや中央寄せが可能となります。

ご検討いただければ幸いです。

Additional context

下記プログラム例はPySimpleGUIでVPush()を使った中央寄せの例です。

import PySimpleGUI as sg

layout = [[sg.VPush()],
          [sg.Push(),
           sg.Text("あいうえお", font=(None,14)),
           sg.Push()],
          [sg.Push(),
           sg.Text("かきくけこ", font=(None,14)),
           sg.Push()],
          [sg.Push(),
           sg.Text("さしすせそ", font=(None,14)),
           sg.Push()],
          [sg.VPush()]]


window = sg.Window(title="VPushテスト", layout=layout, size=(500, 500))


while True:

    event, values = window.read(timeout=1000)

    if event == sg.WIN_CLOSED:
        break

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions