Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`drop_whitespace` argument only present for basic popup

オープン
#78 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
desktop

調査の方向性

Locate the listed popup helper functions, including popup_yes_no and popup_ok, and inspect how each calls the basic popup. Add the optional argument consistently to the relevant helpers, then verify that passing drop_whitespace=False preserves surrounding whitespace in each text-based popup.

索引モデルが issue の本文から書いたものです。

説明

Hi,

I'm trying to use a yes/no popup with some whitespace surrounding the text (in order to make the popup title fully visible in all cases, regardless of popup text length). But the popup trims the whitespace.

The drop_whitespace parameter is only available for the basic popup, not for the other text-based popups (e.g. popup_yes_no).

A simple workaround is to use popup(button_type=POPUP_BUTTONS_OK_CANCEL, drop_whitespace=False), I wonder how you feel about adding the drop_whitespace parameter to the other relevant functions?

I can do the work and raise a PR if it's a good idea.

I think the relevant functions are any that just make a call to popup:

popup_non_blocking, popup_quick, popup_quick_message, popup_no_titlebar, popup_auto_close, popup_error, popup_cancel, popup_ok, popup_ok_cancel and popup_yes_no.

主要言語
Python
スター
867
フォーク
106
平均マージ
1分
マージ済み PR(30日)
2

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

spyoungtech/FreeSimpleGUI のほかの issue

spyoungtech/FreeSimpleGUI の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。