Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
wx.lib.scrolledpanel で ScrolledPanel を使用しようとしています。ScrolledPanel のスクロールバーが現在表示されているかどうかを確認したいので、StaticText に正しいラップ幅を指定できます。スクロールバーが表示されているときは、ラップ幅からさらに10ピクセルほど削除する必要があるため...
これがどのように行われるか誰にも分かりますか?
ありがとう!
scrolledpanel自体の幅ではなく、scrolledpanel内の親ウィジェットの幅を取得することでこれを解決しました。
答えが明白な場合もあります:)