Tooltip extra large [message #234860] |
Thu, 31 May 2007 15:15  |
Eclipse User |
|
|
|
Originally posted by: bch.openbluelab.org
Hi,
When I create a tool tip on an element with a label, the tool tip is
very big.
Label labelView = new Label(text);
labelView.setSize(10, 10);
((ClasseFigure) getFigure()).setToolTip(labelView);
Have you an idea ?
Thanks
|
|
|
|
Re: Tooltip extra large [message #235158 is a reply to message #235145] |
Wed, 06 June 2007 07:30   |
Eclipse User |
|
|
|
Originally posted by: bch.openbluelab.org
I use Windows XP so I understand why the tooltip is not resized. So have
you a solution to reduce the size of my tooltip ?
Thanks
Anthony Hunter a écrit :
> Hi Benjamin,
>
> What platform are you using? setSize() on windows has no affect on the
> tooltip.
>
> Cheers...
> Anthony
>
> "Benjamin CHEVALLEREAU" <bch@openbluelab.org> wrote in message
> news:f3mopv$vdd$1@build.eclipse.org...
>> Hi,
>>
>> When I create a tool tip on an element with a label, the tool tip is
>> very big.
>>
>> Label labelView = new Label(text);
>> labelView.setSize(10, 10);
>> ((ClasseFigure) getFigure()).setToolTip(labelView);
>>
>> Have you an idea ?
>>
>> Thanks
>
>
|
|
|
|
Re: Tooltip extra large [message #235201 is a reply to message #235188] |
Wed, 06 June 2007 14:52   |
Eclipse User |
|
|
|
Originally posted by: bch.openbluelab.org
This is a multi-part message in MIME format.
--------------020109010302030108000409
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Hi
The question is why I have a big tooltip ?
Thanls
Anthony Hunter a
|
|
|
|
Re: Tooltip extra large [message #235298 is a reply to message #235260] |
Fri, 08 June 2007 08:22   |
Eclipse User |
|
|
|
Originally posted by: bch.openbluelab.org
Hi
I use Topcased wich permit to generate simply an editor; topcased is
based on GEF and the team Topcased say me that I must post my question
on GEF. The team topcased have never used tool tip so they don't know if
they have the same problem.
Thanks
Anthony Hunter a écrit :
> Hi Benjamin,
>
> I cannot duplicate this with the GEF examples I have. What is special about
> the diagram? Can you duplicate this somewhere other than your code? (This
> may be a stretch, but are you using GMF?)
>
> Cheers...
> Anthony
>
> "Benjamin CHEVALLEREAU" <bch@openbluelab.org> wrote in message
> news:f46ho6$8nb$1@build.eclipse.org...
>> Hi
>>
>> The question is why I have a big tooltip ?
>>
>> Thanls
>>
>> Anthony Hunter a écrit :
>>> Hi Benjamin,
>>>
>>> I tried your snippet and it worked as I expected on windows XP. What is
>>> the
>>> question? Perhaps a screenshot of what you are looking for?
>>>
>>> Cheers...
>>> Anthony
>>>
>>>
>>> "Benjamin CHEVALLEREAU" <bch@openbluelab.org> wrote in message
>>> news:f45nr6$vpo$1@build.eclipse.org...
>>>> I use Windows XP so I understand why the tooltip is not resized. So have
>>>> you a solution to reduce the size of my tooltip ?
>>>>
>>>> Thanks
>>>>
>>>> Anthony Hunter a écrit :
>>>>> Hi Benjamin,
>>>>>
>>>>> What platform are you using? setSize() on windows has no affect on the
>>>>> tooltip.
>>>>>
>>>>> Cheers...
>>>>> Anthony
>>>>>
>>>>> "Benjamin CHEVALLEREAU" <bch@openbluelab.org> wrote in message
>>>>> news:f3mopv$vdd$1@build.eclipse.org...
>>>>>> Hi,
>>>>>>
>>>>>> When I create a tool tip on an element with a label, the tool tip is
>>>>>> very big.
>>>>>>
>>>>>> Label labelView = new Label(text);
>>>>>> labelView.setSize(10, 10);
>>>>>> ((ClasseFigure) getFigure()).setToolTip(labelView);
>>>>>>
>>>>>> Have you an idea ?
>>>>>>
>>>>>> Thanks
>>
>
>
|
|
|
Re: Tooltip extra large [message #240350 is a reply to message #235298] |
Mon, 24 December 2007 14:25   |
Eclipse User |
|
|
|
Originally posted by: trommas.yahoo.com
How can the size of the tooltip be set?
I get a long line of characters, when really what I want is a box
(textarea) - like eclipse makes.
Merry Christmas,
Tomas Zijdemans
Benjamin CHEVALLEREAU wrote:
> Hi
>
> I use Topcased wich permit to generate simply an editor; topcased is
> based on GEF and the team Topcased say me that I must post my question
> on GEF. The team topcased have never used tool tip so they don't know if
> they have the same problem.
>
> Thanks
>
> Anthony Hunter a écrit :
>> Hi Benjamin,
>>
>> I cannot duplicate this with the GEF examples I have. What is special
>> about the diagram? Can you duplicate this somewhere other than your
>> code? (This may be a stretch, but are you using GMF?)
>>
>> Cheers...
>> Anthony
>>
>> "Benjamin CHEVALLEREAU" <bch@openbluelab.org> wrote in message
>> news:f46ho6$8nb$1@build.eclipse.org...
>>> Hi
>>>
>>> The question is why I have a big tooltip ?
>>>
>>> Thanls
>>>
>>> Anthony Hunter a écrit :
>>>> Hi Benjamin,
>>>>
>>>> I tried your snippet and it worked as I expected on windows XP. What
>>>> is the
>>>> question? Perhaps a screenshot of what you are looking for?
>>>>
>>>> Cheers...
>>>> Anthony
>>>>
>>>>
>>>> "Benjamin CHEVALLEREAU" <bch@openbluelab.org> wrote in message
>>>> news:f45nr6$vpo$1@build.eclipse.org...
>>>>> I use Windows XP so I understand why the tooltip is not resized. So
>>>>> have
>>>>> you a solution to reduce the size of my tooltip ?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Anthony Hunter a écrit :
>>>>>> Hi Benjamin,
>>>>>>
>>>>>> What platform are you using? setSize() on windows has no affect on
>>>>>> the
>>>>>> tooltip.
>>>>>>
>>>>>> Cheers...
>>>>>> Anthony
>>>>>>
>>>>>> "Benjamin CHEVALLEREAU" <bch@openbluelab.org> wrote in message
>>>>>> news:f3mopv$vdd$1@build.eclipse.org...
>>>>>>> Hi,
>>>>>>>
>>>>>>> When I create a tool tip on an element with a label, the tool tip is
>>>>>>> very big.
>>>>>>>
>>>>>>> Label labelView = new Label(text);
>>>>>>> labelView.setSize(10, 10);
>>>>>>> ((ClasseFigure) getFigure()).setToolTip(labelView);
>>>>>>>
>>>>>>> Have you an idea ?
>>>>>>>
>>>>>>> Thanks
>>>
>>
>>
|
|
|
Re: Tooltip extra large [message #240541 is a reply to message #235298] |
Wed, 09 January 2008 18:28  |
Jacques LESCOT Messages: 247 Registered: July 2009 |
Senior Member |
|
|
Benjamin,
while trying to add a Tooltip label using Topcased, I also noticed that
the default tooltip size was very large by default. But this might be
easily fixed by using a org.eclipse.draw2d.Label instead of the one
redefined at the Topcased level which inherits from the GMF WrapLabel
causing such a big size.
Benjamin CHEVALLEREAU a écrit :
> Hi
>
> I use Topcased wich permit to generate simply an editor; topcased is
> based on GEF and the team Topcased say me that I must post my question
> on GEF. The team topcased have never used tool tip so they don't know if
> they have the same problem.
>
> Thanks
>
> Anthony Hunter a écrit :
>> Hi Benjamin,
>>
>> I cannot duplicate this with the GEF examples I have. What is special
>> about the diagram? Can you duplicate this somewhere other than your
>> code? (This may be a stretch, but are you using GMF?)
>>
>> Cheers...
>> Anthony
>>
>> "Benjamin CHEVALLEREAU" <bch@openbluelab.org> wrote in message
>> news:f46ho6$8nb$1@build.eclipse.org...
>>> Hi
>>>
>>> The question is why I have a big tooltip ?
>>>
>>> Thanls
>>>
>>> Anthony Hunter a écrit :
>>>> Hi Benjamin,
>>>>
>>>> I tried your snippet and it worked as I expected on windows XP. What
>>>> is the
>>>> question? Perhaps a screenshot of what you are looking for?
>>>>
>>>> Cheers...
>>>> Anthony
>>>>
>>>>
>>>> "Benjamin CHEVALLEREAU" <bch@openbluelab.org> wrote in message
>>>> news:f45nr6$vpo$1@build.eclipse.org...
>>>>> I use Windows XP so I understand why the tooltip is not resized. So
>>>>> have
>>>>> you a solution to reduce the size of my tooltip ?
>>>>>
>>>>> Thanks
>>>>>
>>>>> Anthony Hunter a écrit :
>>>>>> Hi Benjamin,
>>>>>>
>>>>>> What platform are you using? setSize() on windows has no affect on
>>>>>> the
>>>>>> tooltip.
>>>>>>
>>>>>> Cheers...
>>>>>> Anthony
>>>>>>
>>>>>> "Benjamin CHEVALLEREAU" <bch@openbluelab.org> wrote in message
>>>>>> news:f3mopv$vdd$1@build.eclipse.org...
>>>>>>> Hi,
>>>>>>>
>>>>>>> When I create a tool tip on an element with a label, the tool tip is
>>>>>>> very big.
>>>>>>>
>>>>>>> Label labelView = new Label(text);
>>>>>>> labelView.setSize(10, 10);
>>>>>>> ((ClasseFigure) getFigure()).setToolTip(labelView);
>>>>>>>
>>>>>>> Have you an idea ?
>>>>>>>
>>>>>>> Thanks
>>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.02044 seconds