Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CCombo truncates selection in Text Field
CCombo truncates selection in Text Field [message #445096] Mon, 25 October 2004 20:07 Go to next message
Chad is currently offline ChadFriend
Messages: 7
Registered: July 2009
Junior Member
Hello,

I am using a CCombo in a form and I notice that whenever a selection is made
where the text is longer then the previous selection the first letter is not
visible in CCombo's text field.

For example; if the selection is changed from test to test123, "est123" will
show up in CCombo's text field. If you hit home you can see the "test123". I
am a ccombo instead of a combo because I need the flat look.

Any help would be greatly appreciated!
Re: CCombo truncates selection in Text Field [message #445132 is a reply to message #445096] Tue, 26 October 2004 14:02 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
I was only able to show the problem when "test123" is the longest string in
the list. The CCombo.computeSize(SWT.DEFAULT, SWT.DEFAULT) was not
returning a wide enough result to show the full string of the longest item.
I have fixed this in HEAD for 3.1.

"Chad" <cgustafson@chessys.com> wrote in message
news:cljm1b$l6f$1@eclipse.org...
>
>
> Hello,
>
> I am using a CCombo in a form and I notice that whenever a selection is
> made
> where the text is longer then the previous selection the first letter is
> not
> visible in CCombo's text field.
>
> For example; if the selection is changed from test to test123, "est123"
> will
> show up in CCombo's text field. If you hit home you can see the "test123".
> I
> am a ccombo instead of a combo because I need the flat look.
>
> Any help would be greatly appreciated!
>
>
>
>
>
Previous Topic:TableViewer with Virtual style?
Next Topic:Getting data out of TableTree(Viewer)
Goto Forum:
  


Current Time: Sun Nov 29 00:15:23 GMT 2020

Powered by FUDForum. Page generated in 0.02190 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top