質問

ユーザーコントロールの背景を超えて伸びるwin-formsトラックバーの問題があります。私はそれが下、左、右に固定されています。サイズを手動で設定して範囲内に保ちますが、再サイジング能力を失うことができます。

トラックバーはフォームの再サイジングで拡大したいと思います。これはWin-Formsの標準トラックバー制御です。私は下の写真を含めました。問題のトラックバーは鳥のすぐ下です。それは見にくいですが、トラックバーは窓の範囲を超えて延びています。

track-bar

役に立ちましたか?

解決

Hmm, yeah you wouldn't want it going to the birds.

Use the Anchor and Dock properties of the control to adhere it to the edges of your container form.

You can either set them at design time in the Properties Window, or via code that you place in your form's constructor method.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top