|
|
|
|
| Re: SWT control that support HTML text? [message #454483 is a reply to message #454478] |
Fri, 22 April 2005 04:32  |
Eclipse User |
|
|
|
Andy Arhelger wrote:
> Browser works pretty well. Some problems:
>
> 1) The font is too large, is there anyway to reduce the font size?
Use CSS to define the Font
> 2) The margins are too large, I.E. to much space around the borders of
> the text. Any way to reduce these?
Use CSS: <body style="margin:0;"> for no margins and any other value for
defined margins (e.g. maring:2px;)
> 3) The background is white which is not the same as a Label. Any way
> to change the background color?
CSS :)
> 4) Any way to force it not to add scroll bars but to always show all the
> text?
CSS! <body style="overflow:auto">
That will only show Scrollbars if required by the Browser (at least on
Windows). overflow:none will completly
remove the scrollbars.
>
> Looks like Browser is acutally made up of an OleFrame and and WebSite
> object. It seems as though I could control more of how the control
> works if I could get access to the OleFrame WebSite objects. Any way
> to do this?
>
> Andy Arhelger
>
> Eyecanseeyou wrote:
>
>> Hi,
>> Have a look at Browser component.
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03334 seconds