> thx,
> so the look comes from ListBox (including the button?)? (besides -
> there is no "listbox" in your code!)
>
I think you misunderstood. ListBox has nothing to do with ComboBox.
> but what is the image bundle you use for? Or to ask the other way
> around: you took an suggestion box and placed it together with
> "FocusPanel iconWrapper" in a horizontal panel?! How to get the
> iconWrapper look like the browsers comboBox-Button (what gwt element
> to use?)?
>
The ImageBundle provides the little inverted triangle icon. If you
want to change the icon, you can supply your own bundle.
> On 19 Apr., 16:58, Isaac Truett <itru...@gmail.com> wrote:
>> I did use my own image for ComboBox. It can be overridden if you want
>> to use your image instead.
>>
>> I think you're confused about ListBox. It's just a GWT widget wrapper
>> for an HTML select element. The button image isn't something that
>> comes with GWT, it's the browser's look and feel. If you want to
>> create a button that looks like the browser's select element button,
>> go ahead. You'll want to create a different image for each browser and
>> use deferred binding to show the proper one in each permutation.
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Apr 19, 2011 at 1:19 AM, tanteanni <tantea...@hotmail.com> wrote:
>> > thx for the code
>>
>> > basically you took a suggestbox in a horizontal panel with a button
>> > right? i found similar code here:
>> >http://stackoverflow.com/questions/3039436/suggestbox-gwt-showing-all....
>> > My Problem is how to get the button to look like the ListBox Button
>> > and how to get the button placed within the text box? or in general
>> > how to get/use styles and images of existing gwt widgets? (i didn't
>> > understand this part of your code. do you use your own image or do you
>> > use the image and style of ListBox delivered with GWT?)
>>
>> > On 18 Apr., 20:09, Isaac Truett <itru...@gmail.com> wrote:
>> >> I wrote a ComboBox based on the GWT 1.6 SuggestBox back in 2008. There
>> >> have been a lot of changes since then, so I would be surprised if my
>> >> implementation works with newer versions. The code is Apache 2.0
>> >> licensed. If you want to use any of that old code according to the
>> >> terms of that license, here it is:
>>
>> >>http://code.google.com/p/simple-gwt/wiki/ComboBoxModulehttp://code.go......
>>
>> >> On Mon, Apr 18, 2011 at 6:16 AM, tanteanni <tantea...@hotmail.com> wrote:
>> >> > how to make a suggestBox with a clickable drop down menu (showing
>> >> > suggestion on click). the use case for this is a user who don't know
>> >> > what text to put in to get a suggestion.
>>
>> >> > i already tried listbox - no text input :-( and suggestBox with own
>> >> > "MultiWordSuggestion" and own "SuggestOracle" but how to get an widget
>> >> > that combines both? (probably by provideing a special "textboxbase"?)
>>
>> >> > --
>> >> > You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
>> >> > To post to this group, send email to google-web-toolkit@googlegroups.com.
>> >> > To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
>> >> > For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
>> > To post to this group, send email to google-web-toolkit@googlegroups.com.
>> > To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
>> > For more options, visit this group athttp://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment