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.
GWT では、MenuItems が事前設定されたピクセル幅で MenuBar の境界をオーバーフローするのをどのように防ぎますか?
MenuItem オブジェクト自体とそれに関連付けられた Style オブジェクトで setWidth メソッドを使用してアイテムの幅を変更しようとしましたが、どちらも違いはありませんでした。
また、MenuBar に追加する前後に MenuItem を変更してみました。