Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Browser widget size
Browser widget size [message #453102] Wed, 30 March 2005 16:42 Go to next message
Ash Maurya is currently offline Ash MauryaFriend
Messages: 23
Registered: July 2009
Location: Austin, TX
Junior Member
Is there a way to ask the browser widget to compute its size based on its

I need to display a series of formatted text (simple html) entries within
a ScrolledComposite. I was using a series of FormText widgets before which
worked fine till I ran into the need for more robust formatting i.e. html.
I am trying to do the same with a browser widget but I get a series of
widgets with scroll bars. One option is to replace the ScrolledComposite
with a browser widget and generate html but I am trying to avoid that if

Founder, WiredReach (makers of BoxCloud and CloudFire)
Re: Browser widget size [message #453201 is a reply to message #453102] Thu, 31 March 2005 15:13 Go to previous message
Christophe Cornu is currently offline Christophe CornuFriend
Messages: 304
Registered: July 2009
Senior Member
Hi Ash,

No, you have to compute and set the size yourself, based on the content you
set in. You can control the layout/wrapping/fonts/size of the HTML content
through CSS the way web designers do. You can force scrollbars to not show
in your HTML body tag with:
<body style='overflow:hidden;'>

If you want, you can post a screenshot of what you want to do and we can
think of ways to achieve that result.

Previous Topic:OS events
Next Topic:standalone wizards
Goto Forum:

Current Time: Mon Mar 08 10:06:58 GMT 2021

Powered by FUDForum. Page generated in 0.01353 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top