WrapLabel does not display on Mac [message #168048] |
Mon, 14 January 2008 15:26 |
Eclipse User |
|
|
|
Originally posted by: ft.zimmermann.web.de
Hi,
I've got a little gmf plugin working on my xp machine. Transfering the
plugins to my brandnew mac the following feature occurs:
In a WrapLabel I can enter multiline Text as on XP, but only the first
line is displayed on Mac OS X 10.5, whereas XP displays all lines.
The label is inside a label which has a grid layout.
I tried to change the gridData of the iner label to everything that looks
like more space to me, but nothing changed. Just to say it again: This
construct works neatly on XP.
|
|
|
|
Re: WrapLabel does not display on Mac [message #168105 is a reply to message #168089] |
Mon, 14 January 2008 23:56 |
Eclipse User |
|
|
|
Originally posted by: ft.zimmermann.web.de
Hi Cherie,
thanks for answering so fast. I was working on the gmf logic example first
Unfortunately the Example in the GMF updatesite
http://download.eclipse.org/modeling/gmf/update-site/release s/site.xml
seems broken to me. The Logic PDE Wizards generates 4 projects. The editor
and the edit project have the same plugin id. Assuming the edit project
having the edit plugin makes the plugins loadable but not runnable, a
runtime error says "LogicCreationWizard" cannot be loaded. Somehow I'm
stuck.
Maybe I should post this as a bug?
Can you give me a hint, how to install a working gmf logic example?
|
|
|
Re: WrapLabel does not display on Mac [message #168153 is a reply to message #168105] |
Tue, 15 January 2008 09:05 |
Eclipse User |
|
|
|
Originally posted by: ft.zimmermann.web.de
Hi,
tried the same thing in a simpler environment. Same effect, wrapping in
the editor cell works but does not show.
Am I missing something in this snippet of the corresponding editpart?
public void setLabel(WrapLabel figure) {
unregisterVisuals();
figure.setTextWrap(true);
setFigure(figure);
defaultText = getLabelTextHelper(figure);
registerVisuals();
refreshVisuals();
}
|
|
|
Re: WrapLabel does not display on Mac [message #168219 is a reply to message #168089] |
Tue, 15 January 2008 12:35 |
Eclipse User |
|
|
|
Originally posted by: ft.zimmermann.web.de
Hi,
I instaled the Logic example from the cvs.
The behavior is even worse. A note can have more hat one line, but now it
seems that the Editor cell and the label do not compute the size correctly.
The cell shows 1 1/3 and the labelview definitely only 1 line
|
|
|
|
Powered by
FUDForum. Page generated in 0.03778 seconds