Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Apply GridData for button created by jface action  RSS feed

 
Ashraf Fouad
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dears,
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 GridLayout, and I created some JFACE buttons using action classes I created using:


is Composite which have GridLayout 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!