Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » TextCellEditor with SWT.BORDER doesn't display well on Mac OSX
TextCellEditor with SWT.BORDER doesn't display well on Mac OSX [message #321054] Fri, 05 October 2007 20:33 Go to next message
Eclipse User
Originally posted by: david.c.pace.gmail.com

This is a multi-part message in MIME format.
--------------020301080304090304070803
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I have a TreeViewer that allows direct editing with a TextCellEditor
(Eclipse 3.3).

I have specified SWT.BORDER as the style for the TextCellEditor. This
works great on Windows but on the Mac, the border is much thicker and it
is drawn inside the space occupied by tree's text label. This leaves
only 2 or 3 pixels for the actual text which makes it completely
useless. (see attached image)

I've tried using SWT.NONE and this works but I would prefer to use the
border as it looks much nicer. Using SWT.SEARCH seems to work properly
as well as it draws itself offset of the tree's label.

Does anyone have any suggestions on how to resolve this? I'll gladly
file a bug but I'm not sure if it is a problem with Text, TextCellEditor
or the TreeViewer. Because SWT.SEARCH works fine, it seems that Text
may be the culprit.

Thanks,
Dave

--------------020301080304090304070803
Content-Type: image/jpeg;
name="text-with-border.jpg"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="text-with-border.jpg"

/9j/4AAQSkZJRgABAQAAAQABAAD/7QAcUGhvdG9zaG9wIDMuMAA4QklNBAQA AAAAAAD/4g/A
SUNDX1BST0ZJTEUAAQEAAA+wYXBwbAIAAABtbnRyUkdCIFhZWiAH1gAEABQA CQAgADRhY3Nw
QVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWFwcGwA AAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA5yWFlaAAAB LAAAABRnWFla
AAABQAAAABRiWFlaAAABVAAAABR3dHB0AAABaAAAABRjaGFkAAABfAAAACxy VFJDAAABqAAA
AA5nVFJDAAABuAAAAA5iVFJDAAAByAA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2EckkiW7zRSq4RXnmYBW GDI3rX3XRRHL
cJCXPHCUVLv7PX7+YpZRWi+ZVlf/AAR73/PX1Pz7+LXwm+FHx2ufFE/xe+BG l6/c+MrK007V
p7q9uDNNBatI9ukcglDQeW8sjBoih3NnOQDXe+GviNong3U9avfCvwrtbC78 R3g1HVJYbmRX
v7gQxQCWU7/mcRQQpk/wxqO1fY9FVLL8LKKg8LRt29np0/vf3V9y7IHlFZpR dZW/wR/rofPm
h/H7xL4btGg0XwA8MTuZCv2lmyxAGcsT2Aq7/wANP+Mf+hGf/v8AV7tRXt0q 2DoQVOlhYxit
km0l6JHZHBVoJRjWaXojwn/hp/xj/wBCM/8A3+o/4af8Y/8AQjP/AN/q92or T65h/wDoHX3s
r6piP+f7+5HhP/DT/jH/AKEZ/wDv9R/w0/4x/wChGf8A7/V7tRR9cw//AEDr 72H1TEf8/wB/
cjwn/hp/xj/0Iz/9/qP+Gn/GP/QjP/3+r3aij65h/wDoHX3sPqmI/wCf7+5H hP8Aw0/4x/6E
Z/8Av9R/w0/4x/6EZ/8Av9Xu1FH1zD/9A6+9h9UxH/P9/cjwn/hp/wAY/wDQ jP8A9/qP+Gn/
ABj/ANCM/wD3+r3aij65h/8AoHX3sPqmI/5/v7keE/8ADT/jH/oRn/7/AFH/ AA0/4x/6EZ/+
/wBXu1FH1zD/APQOvvYfVMR/z/f3I+dvhxpfiT4nftEL4s8R6MdItoLeOLYW 3bitcZ8Hv+RY
/Efyr68r5D+D3/IsfiP5Vz4rE/WXG0bJKyRvhcN9WTTldt3bPryiiiuU6Qoo ooAKKKKACiii
gAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKA CvkP4Pf8ix+I
/lX15XyH8Hv+RY/EfyoA+vKKKKACiiigAooooAKKKKACiiigAooooAKKKKAC iiigAooooAKK
KKACiiigAooooAKKKKACiiigAooooAK+Q/g9/wAix+I/lRRQB//Z
--------------020301080304090304070803--
Re: TextCellEditor with SWT.BORDER doesn't display well on Mac OSX [message #331316 is a reply to message #321054] Sun, 31 August 2008 17:14 Go to previous message
Francis Upton IV is currently offline Francis Upton IV
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
For the record, this is bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=163934


Dave Pace wrote:
> Hi,
>
> I have a TreeViewer that allows direct editing with a TextCellEditor
> (Eclipse 3.3).
>
> I have specified SWT.BORDER as the style for the TextCellEditor. This
> works great on Windows but on the Mac, the border is much thicker and it
> is drawn inside the space occupied by tree's text label. This leaves
> only 2 or 3 pixels for the actual text which makes it completely
> useless. (see attached image)
>
> I've tried using SWT.NONE and this works but I would prefer to use the
> border as it looks much nicer. Using SWT.SEARCH seems to work properly
> as well as it draws itself offset of the tree's label.
>
> Does anyone have any suggestions on how to resolve this? I'll gladly
> file a bug but I'm not sure if it is a problem with Text, TextCellEditor
> or the TreeViewer. Because SWT.SEARCH works fine, it seems that Text
> may be the culprit.
>
> Thanks,
> Dave
>
> ------------------------------------------------------------ ------------
>


--
*new* Common Navigator Framework section in:
3.4RC4 Platform Plugin Developer Guide (Programmer's Guide)
http://help.eclipse.org/ganymede/topic/org.eclipse.platform. doc.isv/guide/cnf.htm
http://dev.eclipse.org/blogs/francis
http://wiki.eclipse.org/Common_Navigator_Framework
http://wiki.eclipse.org/Common_Navigator_Framework_Use_Cases


You have brains in your head.
You have feet in your shoes.
- Dr Seuss, Oh the Places You'll Go


Previous Topic:Dynamic menu in eclipse 3.3
Next Topic:File history in File menu.
Goto Forum:
  


Current Time: Fri Aug 22 23:34:35 EDT 2014

Powered by FUDForum. Page generated in 0.02008 seconds