How to indent Button controls? [message #141766] |
Thu, 09 October 2003 14:05 |
Eclipse User |
|
|
|
Originally posted by: mharp.seapine.com
Hey all,
I have several check-box buttons. One button is kind of like the parent, in
that if it's not checked, then the other buttons are disabled. To show this
relationship I'd like to indent the other button underneath the "parent"
button. I guess I could do this with a Tree, but isn't there some kind of
way to do it with GridData or some kid of layout? I've tried setting the
horizontalIndent member of GridData but that doesn't seem to change the
appearance of the buttons at all. I've also thought about using several
columns in my GridLayout, but that would seem to lead to the indentation
being different sizes depending on the size of my dialog, since I can't see
any way to tell the GridLayout how wide to make a column (what I've found is
that the columns are divided equally across the dialog).
Any help would be greatly appreciated.
Thanks,
harpstein
|
|
|
|
Re: How to indent Button controls? [message #142148 is a reply to message #141766] |
Fri, 10 October 2003 09:00 |
Eclipse User |
|
|
|
Originally posted by: scheglov_ke.nlmk.ru
Harpstein <mharp@seapine.com> wrote:
You can also try to play with free version of
Advanced Eclipse SWT Designer (http://www.swt-designer.com), it has good
support for GridLayout.
> I have several check-box buttons. One button is kind of like the parent, in
> that if it's not checked, then the other buttons are disabled. To show this
> relationship I'd like to indent the other button underneath the "parent"
> button. I guess I could do this with a Tree, but isn't there some kind of
> way to do it with GridData or some kid of layout? I've tried setting the
> horizontalIndent member of GridData but that doesn't seem to change the
> appearance of the buttons at all. I've also thought about using several
> columns in my GridLayout, but that would seem to lead to the indentation
> being different sizes depending on the size of my dialog, since I can't see
> any way to tell the GridLayout how wide to make a column (what I've found is
> that the columns are divided equally across the dialog).
> Any help would be greatly appreciated.
> Thanks,
> harpstein
--
SY, Konstantin.
Advanced Eclipse SWT Designer (http://www.swt-designer.com)
|
|
|
Powered by
FUDForum. Page generated in 0.03110 seconds