xBrowse Row Height w/ image too high

xBrowse Row Height w/ image too high

Postby James Bott » Thu Dec 23, 2010 7:15 pm

It appears that the automatic row height calculation when an image is used is about twice as high as it should be. When I add a 32x32 pixel image, the row height seems to be about 64 pixels. The column width seems to be correct.

I am using FWH 10.8.

Regards,
James

Image
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: xBrowse Row Height w/ image too high

Postby James Bott » Thu Dec 23, 2010 7:54 pm

OK, I just tried with a 16x16 pixel image and the row height is the same as it was with the 32x32 pixel image. So, the row height is not being automatically calculated when an image is used, it just defaults to a value around 64 pixels when any image is used.

I guess this is not a bug, but it would seem to be useful if the row height was automatically calculated to something slightly bigger than the image. Perhaps we do not have a function to find the image height?

I do know that you can manually adjust the row height--this is what I am doing.

oBrw:nRowHeight := 22

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: xBrowse Row Height w/ image too high

Postby nageswaragunupudi » Fri Dec 24, 2010 3:07 pm

Mr. James

I guess you are using 800x640 pixels display.
Can you please post your sample code? Hope we can suggest how to use this feature.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 85 guests