similar to: How to determine width and height of FXImageView?

Displaying 20 results from an estimated 100 matches similar to: "How to determine width and height of FXImageView?"

2008 Apr 22
2
Prototype's cumulativeOffset() is not a function
Hi all, I''m sure I''m missing something obvious. I add prototype.js and my custom js file in the head: <script src="prototype.js" type="text/javascript"></script> <script src="my_js_file.js" type="text/javascript"></script> my_js_file.js looks like this: Event.observe(window, ''load'', loadTasks,
2007 Oct 04
0
Getting mouse position from a timed function - My Solution
EDIT: I originally wrote this as a response to this thread (http:// groups.google.com/group/rubyonrails-spinoffs/browse_thread/thread/ a735c534f89fc5cf/8d8546811cae5ee8), but it wouldn''t let me respond that that thread (presumably because of it''s age). Rather than just throw it away, I figured I''d post it here in case in can help anyone else. I built a little class to
2006 Nov 28
11
Extending Element with getTop, getWidth, getLeft problem
Hi, I need to extend the Element object with getTop, getWidth, getLeft . I wrote something like this in an js file and loaded it after the prototype.js . ---------------------------------------------------- Object.extend(Element, { getWidth: function(element) { element = $(element); return element.offsetWidth; }, getTop: function(element) { element = $(element); var curtop
2007 Apr 26
3
FXSplitter width is 1 until created
Why is the width of an FXSplitter equal to 1 before the FXSplitter#create method is called? My splitter is configured to have LAYOUT_FILL_X, so wouldn''t its width be determined before its children were created? It''s not really a big deal, but I was configuring the split based on a preferences file during initialize, and couldn''t make it work properly. Doing it in
2008 May 29
5
On reading posts on this list
Dear all, I am fairly new to R and this list (this is my first post), so I am wondering whether there is a possibility to view posts on this list conveniently on a website besides reading my email. I have in mind something like this : http://www.ruby-forum.com/forum/4 for the Ruby programming language, where you get messages organized in threads, sorted by latest posts, and you can click on
2007 Jul 26
1
getWidth(), getHeight(), and getDimensions() in IE6
I''m getting an "Object doesn''t support this property or method" when calling $(element).getWidth() in IE6. I dont see any note of this method not working in IE so I''m confused. Can someone help please? Nate --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2008 Apr 15
4
trouble streaming images with send_data
Hi I''m doing some server-side graphics with Java2D and I''m trying to stream the resulting image to the browser using send_data. When I try to view the image that I streamed, the browser just shows the URL in the window as a very small image (about .4 kb) when I am using jpeg format. For png, it tells me that the image has errors and can''t load it. Here''s what
2008 Jun 08
1
Installation of R bindings on Windows
Dear all, I am trying to install a package of R bindings for the Ruby language on Windows Vista ... this involves some compilation work with Mingw. (The analogous process on Linux Ubuntu went fine, but for the Windows installation, I need to provide the location of the file analogous to the /usr/lib/R/lib/libR.so library. I've been searching for libR.dll, Rlib.dll, everywhere, but can't
2010 Apr 04
0
What I've learned about FXRegistry and Windows so far
I learned some interesting lessons while working with FXRegistry so far. I decided to blog my learnings so I can remember them later. I thought I''d post a note here in case anyone is interested. There are 2 blog posts: http://ruby-expedition.blogspot.com/2010/04/fxregistry-and-windows-registry.html
2019 Jun 19
0
point size in svg
On 6/19/19 8:19 AM, Spencer Graves wrote: > Hello, All: > > > ????? I'm unable to control the font size in plots to svg. Consider > the following: > > > svg('cex-svg.svg') > cex. <- 5 > plot(1:2, cex.axis=cex.) > text(1:2, 1:2, c('as', 'DF'), > ????????? cex=cex.) > dev.off() > > > ????? When I open this in Gimp
2004 Jul 19
1
My fox build segfaults on Solaris 9 gcc.
On Wed, 7 Jul 2004, Hugh Sasse Staff Elec Eng wrote: > On Tue, 6 Jul 2004, jeroen wrote: > >> On Tuesday 06 July 2004 10:26 am, Hugh Sasse Staff Elec Eng wrote: >>> The last thing I get on building the Fox library is >>> >>> g++ -shared FX4Splitter.lo FXAccelTable.lo FXApp.lo >>> FXArrowButton.lo FXBMPIcon.lo FXBMPImage.lo FXBitmap.lo >
2006 Oct 20
0
[695] trunk/wxruby2/swig/classes/include/wxPen.h: Get/SetStipple not available on GTK
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2006 Apr 14
1
Script.aculo.us Effects with callbacks not working as it should.
Hello all! I''m having a problem which is driving me insane. It''s probably related to the fact that I''m new to javascript.... :) Here''s the thing, I have a couple of effects which are all being put in the queue. Some of these effects have callbacks; e.g. "afterFinish". But the calback is being made directly instead of after the effect is done. The
2006 May 30
0
problem with effect toggle - please help
Hello, I''m having the following code below - when I click on the button in order to toggle a div, it is working when the div is visible - after it is toggled once, the beforeStart stuff isn''t executed anymore! interestingly, when I change this Effect.toggle(this.bContentWrap, ''blind'', { to this: Effect.toggle(this.bContentWrap, ''slide'',
2002 Mar 14
1
gif, jpeg and png image files reader AND tcltk image
Hi all, Roger Peng and Jason Turner's suggestion with ImageMagick seem to be the simplest "dirty" way to get the problem solved. But I ran into yet another interesting but quite round-about way to solve the problem (partially). Through tcltk package, one can read in the gif image with > x <- tkcmd("image", "create", "photo", file=mypic.gif)
2009 Oct 27
1
Rjava, RImageJ, and/or S4 question.
I am out of my league with this question. The following code starts the java imaging program ImageJ from within R, and displays an image (assuming ImageJ is installed on your computer). library(RImageJ) img <- IJ$openImage( file.choose() ) #pick an available .tif file img$show() # make the image object visible # An image is now displayed # find out about the objects involved >
2006 May 08
2
prototype getHeight safari
Hi I have a weird bug with getHeight or getDimensions().hegiht (prototype) only on safari if I have a html file like this <div id="test"></div> and a embedded css <style> #test { width:100px; height:100px; float:left; } </style> In Safari $(''test'').getHeight returns 100, fine but if the css declaration #test.. is in a css file
2004 Aug 13
1
[PATCH] make spotless update
make spotless leaves 2 generated files. diff -purN klibc-0.159.orig/klibc/Makefile klibc-0.159/klibc/Makefile --- klibc-0.159.orig/klibc/Makefile 2004-08-03 23:07:05.000000000 +0200 +++ klibc-0.159/klibc/Makefile 2004-08-13 22:23:35.696699671 +0200 @@ -156,6 +156,7 @@ clean: archclean rm -f sha1hash errlist.c spotless: clean + rm -f include/klibc/havesyscall.h syscalls.nrs find . \( -name
2008 Nov 29
3
Can't run Evidence Scribe
Hello, I have a program called "Evidence Scribe" it runs with .NET Whenever I try to run it I receive this: Code: blake at blake-desktop ~ $ env WINEPREFIX="/home/blake/.wine" wine "C:\Program Files\Idoneum\Evidence Scribe\Evidence Scribe.exe" fixme:gdiplus:GdipGetFontHeightGivenDPI Unhandled unit type: 3 Unhandled Exception: System.InvalidOperationException:
2019 Jun 19
3
point size in svg
Hello, All: ????? I'm unable to control the font size in plots to svg.? Consider the following: svg('cex-svg.svg') cex. <- 5 plot(1:2, cex.axis=cex.) text(1:2, 1:2, c('as', 'DF'), ????????? cex=cex.) dev.off() ????? When I open this in Gimp 2.10.4, the font size is tiny.? I also tried: svg('cex-svg.svg', width=15, height=15, pointsize=24) cex.