[fxruby-users] FXRuby/ questions about fotos
lyle at lylejohnson.name
Wed Nov 18 09:22:00 EST 2009
On Sat, Nov 14, 2009 at 10:55 AM, Benjamin Sebastian Kolz
<benjaminrub-upf at hotmail.de> wrote:
> I've got two questions mainly about fotos in FX Ruby.
> I read the FX Ruby book and I'm using the "scale to thumbnail" method in my
> Extract from the main code:
> logo_load=ImageViewer.new(self, at logo)
> 1. How can I position the foto in the window? If I create a bottom, f. ex.,
> I have
> LAYOUT_EXPLICIT, :x => 50, :y => 200, :width => 200, :height => 200, but
> how can
> I select the x- and y-value for the foto? Any idea?
Well, without any of the code for your ImageViewer class, I don't know
how to answer that question.
> 2. I would like to put this logo also into the title bar... is that
Yes, I think that's what the "miniIcon" argument is for in
More information about the fxruby-users