[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: More questions on adding Combo into Table

Hmm, is this a permanent thing, or will this feature be added in the
future??

I understand about changing the size of the components, and that's all
great, except I also want different controls, such as a Text with a scroll
bar and hopefully 60px in height (to display multiple lines of data). Is
there no way to work around this??

Thank you again,

-jp

"Veronika Irvine" <veronika_irvine@xxxxxxx> wrote in message
news:bag47a$l32$3@xxxxxxxxxxxxxxxx
> The only way to affect the row height in a table is to change the font or
> the image sizes in the Table.
>
> There is however a workaround for your case.  The custom widget CCombo was
> developed specifically for inserting into tables.  It is an emulated combo
> box which has an adjustable height.
>
> <jpan@xxxxxxxxxxxx> wrote in message news:bag2tq$jqj$1@xxxxxxxxxxxxxxxx
> > Hi,
> >
> > So, I have been able to add Combo into a Table as TableEditor...
however,
> > the Combo minimum height seems to be 21px, which is more than the
default
> > row height of Table.
> >
> > How can I change row heights in Table??
> >
> > I'm actually building sort of a "Property Editor" type of control,
that's
> > essentially a Table with two columns, Column 0 containing a bunch of
Label
> > widgets, and Column 1 containing appropriate editors, such as Text,
Combo,
> > and some other custom widgets. If I'm going about this the wrong way,
> please
> > let me know as well!
> >
> > Thank you,
> >
> > -jp
> >
> >
>
>