Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Swing / AWT / SWT
Apply GridData for button created by jface action
posted 11 years ago
I'm still new in SWT/JFace, and this is my first application, so sorry if it seems it is naive.
I layout my controls using
, and I created some JFACE buttons using action classes I created using:
ActionContributionItem aci = new ActionContributionItem(action); aci.fill(this.buttonArea);
is Composite which have
of 3 columns, I want to add the button filling horizontal span = 3, and some other attributes in GridData.
How can I specify the layout for button created using Jface action
SCJP 1.2, SCBCD 5
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
JFace: Formatting control created by ActionContributionItem
ActionListener to Jface Dialogue
Get button created by ActionContributionItem
swt buttons wont right-align