I have a GridLayout
inside a Composite
and I have two column inside that. I want to have column width 75 % and 25 % of the Shell
width . How to do that?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- SWT table: how to set/get “focused” row
Right, here you go: Use the
GridData#widthHint
values to force a certain width of theComposite
s. Compute the width based on the width of theShell
:After start:
After resizing: