lang:python:wxpython:sizer
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
| lang:python:wxpython:sizer [2025/08/17 07:26] – editor | lang:python:wxpython:sizer [2025/08/17 07:57] (現在) – [自動サイズ調整] editor | ||
|---|---|---|---|
| 行 84: | 行 84: | ||
| </ | </ | ||
| - | ==== 自動サイズ調整 ==== | + | ===== 自動サイズ調整 |
| wx.EXPAND でサイズ調整される | wx.EXPAND でサイズ調整される | ||
| + | |||
| + | layout = wx.BoxSizer(wx.HORIZONTAL) | ||
| + | layout.Add(button, | ||
| + | # 0: サイズ変更なし | ||
| + | # 1: 自動調整あり。数字は、比率。 | ||
| <file python sizer2.py> | <file python sizer2.py> | ||
lang/python/wxpython/sizer.1755415612.txt.gz · 最終更新: by editor
