[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] RE: platform-swt-dev Digest, Vol 17, Issue 3

Yeah, that helped thanks.  However I used a style sheet with this in the end...

html,body
{
	overflow: hidden;
}
	
thanks Chris.  Headache gone :)

-----Original Message-----
From: platform-swt-dev-bounces@xxxxxxxxxxx [mailto:platform-swt-dev-bounces@xxxxxxxxxxx] On Behalf Of platform-swt-dev-request@xxxxxxxxxxx
Sent: Wednesday, July 05, 2006 5:28 PM
To: platform-swt-dev@xxxxxxxxxxx
Subject: platform-swt-dev Digest, Vol 17, Issue 3

Send platform-swt-dev mailing list submissions to
	platform-swt-dev@xxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
or, via email, send a message with subject or body 'help' to
	platform-swt-dev-request@xxxxxxxxxxx

You can reach the person managing the list at
	platform-swt-dev-owner@xxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of platform-swt-dev digest..."


Today's Topics:

   1. FW: scrollbars in browser (Adam Morgan)
   2. Re: FW: scrollbars in browser (Christophe Cornu)
   3. Re: SWT Community page (Grant Gayed)


----------------------------------------------------------------------

Message: 1
Date: Wed, 5 Jul 2006 16:42:45 -0300
From: "Adam Morgan" <adam.morgan@xxxxxxxxxx>
Subject: [platform-swt-dev] FW: scrollbars in browser
To: <platform-swt-dev@xxxxxxxxxxx>
Message-ID:
	<F0273E181224784BAEAD1DF767648D368FAFF3@xxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

 

 

I can't for the life of me get rid of the scrollbars in the Browser
class... it is as if they are part of a child widget to the Browser, but
since I can't intercept where the widget is instantiated, I can't set
the style for the widget...

 

Any suggestions???

 

Adam Morgan

Software Engineer, Development

Q1 Labs Inc - Network Security Enforcement for the Enterprise

Office:   506-462-9117 x106

adam.morgan@xxxxxxxxxx | www.q1labs.com 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://eclipse.org/pipermail/platform-swt-dev/attachments/20060705/074859bf/attachment.html

------------------------------

Message: 2
Date: Wed, 5 Jul 2006 16:23:29 -0400
From: Christophe Cornu <Christophe_Cornu@xxxxxxxxxx>
Subject: Re: [platform-swt-dev] FW: scrollbars in browser
To: "Eclipse Platform SWT component developers list."
	<platform-swt-dev@xxxxxxxxxxx>
Message-ID:
	<OF8C5CD2C4.61D7AFF8-ON852571A2.006FB9A6-852571A2.00700392@xxxxxxxxxx>
Content-Type: text/plain; charset="utf-8"

Hi Adam,

The HTML content owns this aspect of the presentation. You can try the 
following.

Define the body tag as below.
<body style='overflow:hidden;'>

Full example:
import org.eclipse.swt.*;
import org.eclipse.swt.widgets.*;
import org.eclipse.swt.layout.*;
import org.eclipse.swt.browser.*;

public class Main {

                 public static void main(String[] args) {
                                 final String html = "<html><body
style='overflow:hidden;'><h1>Some javadoc here</h1><p>and some more
here</p></body></html>";
                                 Display display = new Display();
                                 Shell shell = new Shell(display);
                                 shell.setText("PRBrowser");
                                 shell.setLayout(new FillLayout());
                                 final Browser browser = new 
Browser(shell, SWT.NONE);
                                 browser.setText(html);
                                 shell.open();

                                 while (!shell.isDisposed()) {
                                                 if 
(!display.readAndDispatch())
 display.sleep();
                                 }               }
}

Hope this helps,

Chris




"Adam Morgan" <adam.morgan@xxxxxxxxxx> 
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
07/05/2006 03:42 PM
Please respond to
"Eclipse Platform SWT component developers list." 
<platform-swt-dev@xxxxxxxxxxx>


To
<platform-swt-dev@xxxxxxxxxxx>
cc

Subject
[platform-swt-dev] FW: scrollbars in browser






 
 
I can’t for the life of me get rid of the scrollbars in the Browser class… 
it is as if they are part of a child widget to the Browser, but since I 
can’t intercept where the widget is instantiated, I can’t set the style 
for the widget…
 
Any suggestions???
 
Adam Morgan
Software Engineer, Development
Q1 Labs Inc - Network Security Enforcement for the Enterprise
Office:   506-462-9117 x106
adam.morgan@xxxxxxxxxx | www.q1labs.com 
 _______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://eclipse.org/pipermail/platform-swt-dev/attachments/20060705/57dee5ee/attachment.html

------------------------------

Message: 3
Date: Wed, 5 Jul 2006 16:28:11 -0400
From: Grant Gayed <Grant_Gayed@xxxxxxxxxx>
Subject: Re: [platform-swt-dev] SWT Community page
To: platform-swt-dev@xxxxxxxxxxx
Message-ID:
	<OF20DDB890.080D3D71-ON852571A2.006FEFCE-852571A2.007071BC@xxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

Jake,

As a follow-up, I just realized that upgrading to the latest swt won't be 
enough to auto-detect an installed mozilla/firefox, because the code that 
does this in 3.2 lives in the eclipse launcher.

Grant





"Jake Poznanski" <jakepoz@xxxxxxxxx> 
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
07/01/2006 10:50 PM
Please respond to
"Eclipse Platform SWT component developers list." 
<platform-swt-dev@xxxxxxxxxxx>


To
"Eclipse Platform SWT component developers list." 
<platform-swt-dev@xxxxxxxxxxx>
cc

Subject
Re: [platform-swt-dev] SWT Community page






Hey,

 Thanks for adding the program! I will take a look at what you found out 
about the linux-gtk version. It was already on my top priority list for 
the program to upgrade to the latest SWT, and I will investigate the other 
upgrade issue you were mentioning. 

Thanks again,
 Jake Poznanski

On 6/30/06, Grant Gayed <Grant_Gayed@xxxxxxxxxx> wrote: 

Hi Jake, 

It's been added to the page.  I was late doing this because it initially 
did not run for me on win32, but I figured out that my setup wasn't quite 
as expected. 

A couple of comments regarding the linux-gtk version: 
-> if you upgrade to use the swt that accompanies eclipse 3.2 then the 
user will not be on the hook for setting the MOZILLA_FIVE_HOME environment 
variable anymore 
-> for some reason I get a NPE when I say yes to the "Do you want to 
download the update?" dialog, and it does not appear to be related to not 
having MOZILLA_FIVE_HOME set 

Grant 





"Jake Poznanski" <jakepoz@xxxxxxxxx> 

Sent by: platform-swt-dev-bounces@xxxxxxxxxxx 
06/28/2006 11:05 PM 


Please respond to
"Eclipse Platform SWT component developers list." <
platform-swt-dev@xxxxxxxxxxx> 


To
"Eclipse Platform SWT component developers list." <
platform-swt-dev@xxxxxxxxxxx> 
cc

Subject
Re: [platform-swt-dev] SWT Community page








Any chance to add my project to the list?

Name: SPOT Manager
Website: http://www.spotdev.net/spotmanager 
Description: SPOT Manager is a program to forward email and RSS items to 
your MSNDirect powered Smart Watch. ( http://www.msndirect.com ) It is 
written in Java, uses SWT, and is supported on Windows, Linux, and Mac 
platforms.

Thanks!

On 6/27/06, Grant Gayed <Grant_Gayed@xxxxxxxxxx > wrote: 

These have both been added to the Community page.  If you'd like to update 
the descriptions then follow up here. 

Grant 



"Mohsen Saboorian" <mohsens@xxxxxxxxx > 
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx 
06/24/2006 10:25 AM 

Please respond to
"Eclipse Platform SWT component developers list." < 
platform-swt-dev@xxxxxxxxxxx> 



To
"Eclipse Platform SWT component developers list." <
platform-swt-dev@xxxxxxxxxxx > 
cc

Subject
Re: [platform-swt-dev] SWT Community page










Hi,
me too,
The Zekr Project: http://siahe.com/zekr
Thanks in advance.

On 6/24/06, Sebastian Machhausen < sebastian.machhausen@xxxxxxxxx > wrote: 

Hi there,

I would appreciate if you guys would list Feed'n Read, an open source
newsfeed reader written in Java using eclipse SWT/JFace techonologies on 
the
SWT Community Page ( http://www.eclipse.org/swt/community.php). Is it
possible?

The application homepage is located at http://fnr.sourceforge.net .


Best regards
Sebastian Machhausen 
(Feed'n Read Development) 
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx 
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev 


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx 
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev 


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx 
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://eclipse.org/pipermail/platform-swt-dev/attachments/20060705/cfff383c/attachment.html

------------------------------

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


End of platform-swt-dev Digest, Vol 17, Issue 3
***********************************************