[fusion-users] JX Panel height

Jason Fournier jfournier at dmsolutions.ca
Fri Aug 22 11:05:22 EDT 2008


My bad – I totally misread the question.  For some reason I thought Marc was
concerned with the title bar of a panel.  Sorry for the noise.

 

> Also, I would like to mention that Iceland just qualified for the finals
at the Olympics in Handball.

 

Congrats!

 

Jason

 

 

 

From: Tómas Guðmundsson [mailto:tomas at snertill.is] 
Sent: Friday, August 22, 2008 10:51 AM
To: Jason Fournier; fusion-users at lists.osgeo.org
Subject: RE: [fusion-users] JX Panel height

 

Jason, All.

 

I’m sorry but I think that this is not correct. As you can see it says
“this.title
” so the ‘22px’ is the height of the  title bar. 

 

The title bar’s are funny business and I hereby recommend that the function
of the titles in regards with the mouse functionality.

 

My personal opinion is that a single click is more in tune with what users
already know, given the functionality of Outlook for instance.

 

This leaves the dragging tool out though. Single click was assigned to
dragging. It could be moved to the arrow on the left side. To single click
and drag the panels accordingly would be more for advanced users who can
relate to those functions.

 

So to sum up, single click = maximize panel, single click and drag on arrow
: resize panel.

 

Also I would like to mention that Snertill is very close to releasing its
product and it will be fun to receive feedback from the fusion community.

 

Also, I would like to mention that Iceland just qualified for the finals at
the Olympics in Handball.

 

Regards,

Tómas.

 

From: fusion-users-bounces at lists.osgeo.org
[mailto:fusion-users-bounces at lists.osgeo.org] On Behalf Of Jason Fournier
Sent: 22. ágúst 2008 13:46
To: fusion-users at lists.osgeo.org
Subject: RE: [fusion-users] JX Panel height

 

Hi Marc,

 

It would seem that jx is setting the style of the panel height in
jxpanel.js:

 

this.title.style.height = '22px';

 

You could override this value in the js file itself but it would affect all
panels.  Considering this value is being applied as a style I don’t think
you could overwrite it by any CSS selectors as a style reigns supreme in the
selector hierarchy.  One thing could be to add an option to the Panel
prototype to accept height.

 

Best regards,

Jason

 

 

 

From: fusion-users-bounces at lists.osgeo.org
[mailto:fusion-users-bounces at lists.osgeo.org] On Behalf Of Marc Pfister
Sent: Wednesday, August 20, 2008 5:06 PM
To: fusion-users at lists.osgeo.org
Subject: [fusion-users] JX Panel height

 

Is there a way to explicitly set the height of a JX panel in pixels, or as a
percentage of the panel pane, or to automagically size it to fit its
contents?

 

Thanks,

 

Marc

 

n
Marc Pfister
Geospatial Data Manager
ENPLAN
mpfister at enplan.com
530/221-0440 x108
530/221-6963 Fax

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-users/attachments/20080822/da87af07/attachment-0001.html


More information about the fusion-users mailing list