ユーザ用ツール

サイト用ツール


lang:python:wxpython:sizer

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki