Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkgilmer2005-02-20 20:46:07 +0000
committerkgilmer2005-02-20 20:46:07 +0000
commit93716cfb49437ba50a8161899bc0e51849325d39 (patch)
treed01c57aa1528109f3c593f3303a4f09bf21f2ee2
parented2b4b3845813c8ba04b477584cf8da90541fa52 (diff)
downloadorg.eclipse.ecf-93716cfb49437ba50a8161899bc0e51849325d39.tar.gz
org.eclipse.ecf-93716cfb49437ba50a8161899bc0e51849325d39.tar.xz
org.eclipse.ecf-93716cfb49437ba50a8161899bc0e51849325d39.zip
Added borders to widgets on presence/chat view composite.
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/ChatComposite.java2
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/TeamChat.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/ChatComposite.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/ChatComposite.java
index 0be26a427..4d6f13235 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/ChatComposite.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/ChatComposite.java
@@ -138,7 +138,7 @@ public class ChatComposite extends Composite {
setLayout(cl);
treeView = tree;
textoutput = new TextViewer(this, SWT.V_SCROLL | SWT.H_SCROLL
- | SWT.WRAP);
+ | SWT.WRAP | SWT.BORDER);
String fontName = ClientPlugin.getDefault().getPluginPreferences().getString(ClientPlugin.PREF_CHAT_FONT);
if (!(fontName == null) && !(fontName.equals(""))) {
FontRegistry fr = ClientPlugin.getDefault().getFontRegistry();
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/TeamChat.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/TeamChat.java
index 746c7d491..36fc4ce80 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/TeamChat.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ui/TeamChat.java
@@ -50,7 +50,7 @@ class TeamChat extends Composite {
treeView =
new ChatTreeViewer(
- useChatWindow ? (Composite) this : (Composite) sash, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
+ useChatWindow ? (Composite) this : (Composite) sash, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
treeView.setAutoExpandLevel(LineChatClientView.TREE_EXPANSION_LEVELS);
vc = new ViewContentProvider(view);
@@ -87,7 +87,7 @@ class TeamChat extends Composite {
if (showTree) {
treeView =
new ChatTreeViewer(
- useChatWindow ? (Composite) this : (Composite) sash, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
+ useChatWindow ? (Composite) this : (Composite) sash, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
treeView.setAutoExpandLevel(LineChatClientView.TREE_EXPANSION_LEVELS);
vc = new ViewContentProvider(view);

Back to the top