[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: Where to find checkbox images for TableViewer
|
Patrick Godeau schrieb:
> Matthew Hall a écrit :
>> Rather than having to capture an image on each platform using screen
>> shots, try creating a check button at runtime (perhaps in a shell
>> off-screen so it isn't visible to the user) and capture a checked and
>> unchecked image from the button. I believe the SWT homepage has a
>> snippet which show how to capture images from widgets.
>
That's what I suggest too in my comment and for some time (maybe ever)
this will be the only solution to the problem.
> OK, thanks for the tip, maybe I'll do this... but I still believe it's a
> hack, and I hope that next JFace releases will provide cleaner and more
> usable solutions.
>
Well as already lined out in my comment I'll take a look at it but I'm
not 100% sure this will be possible. Still I'll keep it on my TODO-List
maybe you could file a bug-report against Platform/UI prefixing the
Label with [Viewers] so it doesn't get lost.
On the other hand there are custom drawn controls like Nebula-Grida who
support more than one column holding checkboxes I think. Viewer support
for them is coming in 3.3M3.
Tom