Skip to main content

Specifying width and height in iBrowser does not work.

4 replies [Last post]
jvence
Offline
Joined: 2006-06-21

Here's my declaration:

Specifying width and/or height has NO effect whatsoever on the size of the drawn component. Is this a bug?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31

The ImageBrowser has had it's first major overhaul in about 6 months.

You can now manually resize the widget using the parameters that you specified. If no size is set the widget will now expand to fit whatever container it is in. I've also worked in browser window resizing.

I've also incorporated the global jMaki flickr loader which was a little more advanced than the one in the code. The global loader allows for API keys which can allow for larger image sets.

If you want the widget code right away copy the 3 component files from:

https://ajax.dev.java.net/source/browse/ajax/ws/jmaki/widgets/native/src...

into your current imagebrowser.

See the widget.json file for all the different parameter descriptions.

Let me know if this works for you.

jvence
Offline
Joined: 2006-06-21

Well even changing the CSS below has no effect:

.ibrowser {
position: relative;
height: 250px;
width: 200px;
}

gmurray71
Offline
Joined: 2003-07-31

Alright. It's time to fix the iBrowser. I wrote this one from scratch so it shouldn't be too hard. It's just been a while.

gmurray71
Offline
Joined: 2003-07-31

Let me give it a look but I suspect it's a bug. It used to work though I tend to prefer a CSS based approach. These attributes were provide to allow for an override.