GSOC Day 31 – Images in panelInfo


I fixed the spacing today for certain types of panels in panelInfo, which didn’t return to the normal spacing when there was no number in front of them until I replaced the spacers, which couldn’t be modified, with empty panels, which I could change at run-time to fix their sizes.

I then added image support to panelInfo. Now, instead of showing media URLs, it loads the media and displays it directly. This is another nice way of showing off the flexibility of the new info panel. At first, however, I couldn’t get the media panels to expand to show the entire image. I managed to fix this by manually forcing them to the size of their contents.

Here’s a screenshot of the results of the day’s work:

The info panel with media support.

The info panel with media support.

Advertisements

~ by greywhind on June 23, 2009.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: