I am using SWT, I want to create a new control which will include a text(org.eclipse.swt.widgets.Text) and a button(org.eclipse.swt.widgets.Button),the text is on the left, and the button is on the right.
I spent lots of efforts to find an example, but I haven’t found… Could anyone provide me a good example? Many thanks!
You could look at CCombo class. CCombo mimics Combo widget. CCombo is good example to look at for custom widget design.