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.
Draw2D ラベル (テキスト付きの図) を使用して RCP ベースのアプリケーションを構築しています。グラフィカル エディターでラベルのサイズを変更しても、テキストは最初の位置にとどまります。ラベルの新しい制約に基づいてテキストを再配置する方法はありますか?
setConstriants(IFigure parent, Rectangle bounds) メソッドを使用して、親 Figure の上にあるラベルの境界を設定するだけでよいことがわかります。