質問

I can't find how to disable the automatic creation of rows in Flowlayout when re-sizing the container. It's mentioned in the docs that:

If the horizontal space in the container is too small to put all the components in one row, the FlowLayout class uses multiple rows.

How can I disable this feature?

役に立ちましたか?

解決

Don't use FlowLayout. Instead have you tried BoxLayout, organized as BoxLayout.LINE_AXIS.

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