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.
私のプロジェクトでは、非表示にする必要があるいくつかの要素を含むグループ ボックスがあり、その上下に他の要素があります。これらの要素を setHidden(true) で非表示にすると、要素は非表示になりますが、他の要素の間に大きなスペースが残ります。
これらの要素を非表示にした後、グループ ボックスをコンパクトにするにはどうすればよいのでしょうか?