Jump to content

iScroll under FireFox


Recommended Posts

  • Moderators

The iScroll unit by Jon Aasenden has a problem with FireFox - Firefox renders a width of 0 on scrollboxes

 

Add the third line from the bottom (the "width 100%" line) to fix that issue

 

//############################################################################
// TW3ScrollWindow
//############################################################################
 
procedure TW3ScrollWindow.InitializeObject;
Begin
  inherited;
  FContent:=getScrollContentClass.Create(self);
  FContent.Height:=0;
 
  w3_setStyle(FContent.Handle,'postion','relative');
  w3_setStyle(FContent.Handle,'width','100%');
  w3_setStyle(FContent.Handle,'min-width','100%');
  w3_setStyle(FContent.Handle,'min-height','0px');
 
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...