Mondrian Popup text is center

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Mondrian Popup text is center

Laval Jannik-2
Hi all,

Is it possible in a popup to put the text on left ?

Cheers,
---
Jannik Laval

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mondrian Popup text is center

Alexandre Bergel
I do not understand. To have the popup located on the left of the mouse?

Alexandre


On 12 Jul 2010, at 14:30, Laval Jannik wrote:

> Hi all,
>
> Is it possible in a popup to put the text on left ?
>
> Cheers,
> ---
> Jannik Laval
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.





_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mondrian Popup text is center

jannik laval
Hi Alex,

I would like to align the text on left in a popup.
Actually the text is centered. I don't know if it is a "feature" of Mondrian or Theme in Pharo.

Cheers,
Jannik

On Jul 13, 2010, at 10:46 , Alexandre Bergel wrote:

> I do not understand. To have the popup located on the left of the mouse?
>
> Alexandre
>
>
> On 12 Jul 2010, at 14:30, Laval Jannik wrote:
>
>> Hi all,
>>
>> Is it possible in a popup to put the text on left ?
>>
>> Cheers,
>> ---
>> Jannik Laval
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

---
Jannik Laval


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mondrian Popup text is center

Alexandre Bergel
The width of the popup is adjusted along the width of the text to be displayed.
I still do not understand.
I am visiting rmod now. Staying in Marcus' office.

Are you around? You can then show it to me.

Cheers,
Alexandre


On 13 Jul 2010, at 10:53, Laval Jannik wrote:

> Hi Alex,
>
> I would like to align the text on left in a popup.
> Actually the text is centered. I don't know if it is a "feature" of Mondrian or Theme in Pharo.
>
> Cheers,
> Jannik
>
> On Jul 13, 2010, at 10:46 , Alexandre Bergel wrote:
>
>> I do not understand. To have the popup located on the left of the mouse?
>>
>> Alexandre
>>
>>
>> On 12 Jul 2010, at 14:30, Laval Jannik wrote:
>>
>>> Hi all,
>>>
>>> Is it possible in a popup to put the text on left ?
>>>
>>> Cheers,
>>> ---
>>> Jannik Laval
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> ---
> Jannik Laval
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mondrian Popup text is center

Tudor Girba
Hi Alex,

Jannik is talking about the alignment of the text inside the popupText  
morph. Right now, the text appears centered, and he would like to have  
it left aligned. For example, if you want to display source code in  
the popupText, you want it to appear aligned to the left, like a  
normal text, and not centered like in a label.

Cheers,
Doru


On 13 Jul 2010, at 12:57, Alexandre Bergel wrote:

> The width of the popup is adjusted along the width of the text to be  
> displayed.
> I still do not understand.
> I am visiting rmod now. Staying in Marcus' office.
>
> Are you around? You can then show it to me.
>
> Cheers,
> Alexandre
>
>
> On 13 Jul 2010, at 10:53, Laval Jannik wrote:
>
>> Hi Alex,
>>
>> I would like to align the text on left in a popup.
>> Actually the text is centered. I don't know if it is a "feature" of  
>> Mondrian or Theme in Pharo.
>>
>> Cheers,
>> Jannik
>>
>> On Jul 13, 2010, at 10:46 , Alexandre Bergel wrote:
>>
>>> I do not understand. To have the popup located on the left of the  
>>> mouse?
>>>
>>> Alexandre
>>>
>>>
>>> On 12 Jul 2010, at 14:30, Laval Jannik wrote:
>>>
>>>> Hi all,
>>>>
>>>> Is it possible in a popup to put the text on left ?
>>>>
>>>> Cheers,
>>>> ---
>>>> Jannik Laval
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> ---
>> Jannik Laval
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"Obvious things are difficult to teach."



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mondrian Popup text is center

Alexandre Bergel
He showed me the situation yesterday.
This is not something I touched. I guess it has to do with the polymorph theme or something.

Cheers,
Alexandre


On 13 Jul 2010, at 15:38, Tudor Girba wrote:

> Hi Alex,
>
> Jannik is talking about the alignment of the text inside the popupText morph. Right now, the text appears centered, and he would like to have it left aligned. For example, if you want to display source code in the popupText, you want it to appear aligned to the left, like a normal text, and not centered like in a label.
>
> Cheers,
> Doru
>
>
> On 13 Jul 2010, at 12:57, Alexandre Bergel wrote:
>
>> The width of the popup is adjusted along the width of the text to be displayed.
>> I still do not understand.
>> I am visiting rmod now. Staying in Marcus' office.
>>
>> Are you around? You can then show it to me.
>>
>> Cheers,
>> Alexandre
>>
>>
>> On 13 Jul 2010, at 10:53, Laval Jannik wrote:
>>
>>> Hi Alex,
>>>
>>> I would like to align the text on left in a popup.
>>> Actually the text is centered. I don't know if it is a "feature" of Mondrian or Theme in Pharo.
>>>
>>> Cheers,
>>> Jannik
>>>
>>> On Jul 13, 2010, at 10:46 , Alexandre Bergel wrote:
>>>
>>>> I do not understand. To have the popup located on the left of the mouse?
>>>>
>>>> Alexandre
>>>>
>>>>
>>>> On 12 Jul 2010, at 14:30, Laval Jannik wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> Is it possible in a popup to put the text on left ?
>>>>>
>>>>> Cheers,
>>>>> ---
>>>>> Jannik Laval
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> ---
>>> Jannik Laval
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "Obvious things are difficult to teach."
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mondrian Popup text is center

Tudor Girba
Did anyone find a solution here?

Doru


On 14 Jul 2010, at 10:42, Alexandre Bergel wrote:

> He showed me the situation yesterday.
> This is not something I touched. I guess it has to do with the  
> polymorph theme or something.
>
> Cheers,
> Alexandre
>
>
> On 13 Jul 2010, at 15:38, Tudor Girba wrote:
>
>> Hi Alex,
>>
>> Jannik is talking about the alignment of the text inside the  
>> popupText morph. Right now, the text appears centered, and he would  
>> like to have it left aligned. For example, if you want to display  
>> source code in the popupText, you want it to appear aligned to the  
>> left, like a normal text, and not centered like in a label.
>>
>> Cheers,
>> Doru
>>
>>
>> On 13 Jul 2010, at 12:57, Alexandre Bergel wrote:
>>
>>> The width of the popup is adjusted along the width of the text to  
>>> be displayed.
>>> I still do not understand.
>>> I am visiting rmod now. Staying in Marcus' office.
>>>
>>> Are you around? You can then show it to me.
>>>
>>> Cheers,
>>> Alexandre
>>>
>>>
>>> On 13 Jul 2010, at 10:53, Laval Jannik wrote:
>>>
>>>> Hi Alex,
>>>>
>>>> I would like to align the text on left in a popup.
>>>> Actually the text is centered. I don't know if it is a "feature"  
>>>> of Mondrian or Theme in Pharo.
>>>>
>>>> Cheers,
>>>> Jannik
>>>>
>>>> On Jul 13, 2010, at 10:46 , Alexandre Bergel wrote:
>>>>
>>>>> I do not understand. To have the popup located on the left of  
>>>>> the mouse?
>>>>>
>>>>> Alexandre
>>>>>
>>>>>
>>>>> On 12 Jul 2010, at 14:30, Laval Jannik wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> Is it possible in a popup to put the text on left ?
>>>>>>
>>>>>> Cheers,
>>>>>> ---
>>>>>> Jannik Laval
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> [hidden email]
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>> --
>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> ---
>>>> Jannik Laval
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> www.tudorgirba.com
>>
>> "Obvious things are difficult to teach."
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
www.tudorgirba.com

"No matter how many recipes we know, we still value a chef."






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mondrian Popup text is center

Alexandre Bergel-4
Veronica use popupView: to display her text. It works pretty well =
actually. Jannik is now using a similar approach I think. If something =
give me the code, I can include it in the mainstream.

Cheers,
Alexandre

NB: I know popupView is still a bit buggy (some views do not disappear).


On 21 Jul 2010, at 22:57, Tudor Girba wrote:

> Did anyone find a solution here?
>
> Doru
>
>
> On 14 Jul 2010, at 10:42, Alexandre Bergel wrote:
>
>> He showed me the situation yesterday.
>> This is not something I touched. I guess it has to do with the polymorph theme or something.
>>
>> Cheers,
>> Alexandre
>>
>>
>> On 13 Jul 2010, at 15:38, Tudor Girba wrote:
>>
>>> Hi Alex,
>>>
>>> Jannik is talking about the alignment of the text inside the popupText morph. Right now, the text appears centered, and he would like to have it left aligned. For example, if you want to display source code in the popupText, you want it to appear aligned to the left, like a normal text, and not centered like in a label.
>>>
>>> Cheers,
>>> Doru
>>>
>>>
>>> On 13 Jul 2010, at 12:57, Alexandre Bergel wrote:
>>>
>>>> The width of the popup is adjusted along the width of the text to be displayed.
>>>> I still do not understand.
>>>> I am visiting rmod now. Staying in Marcus' office.
>>>>
>>>> Are you around? You can then show it to me.
>>>>
>>>> Cheers,
>>>> Alexandre
>>>>
>>>>
>>>> On 13 Jul 2010, at 10:53, Laval Jannik wrote:
>>>>
>>>>> Hi Alex,
>>>>>
>>>>> I would like to align the text on left in a popup.
>>>>> Actually the text is centered. I don't know if it is a "feature" of Mondrian or Theme in Pharo.
>>>>>
>>>>> Cheers,
>>>>> Jannik
>>>>>
>>>>> On Jul 13, 2010, at 10:46 , Alexandre Bergel wrote:
>>>>>
>>>>>> I do not understand. To have the popup located on the left of the mouse?
>>>>>>
>>>>>> Alexandre
>>>>>>
>>>>>>
>>>>>> On 12 Jul 2010, at 14:30, Laval Jannik wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> Is it possible in a popup to put the text on left ?
>>>>>>>
>>>>>>> Cheers,
>>>>>>> ---
>>>>>>> Jannik Laval
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Moose-dev mailing list
>>>>>>> [hidden email]
>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>
>>>>>> --
>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> [hidden email]
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>> ---
>>>>> Jannik Laval
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "Obvious things are difficult to teach."
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> www.tudorgirba.com
>
> "No matter how many recipes we know, we still value a chef."
>
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mondrian Popup text is center

jannik laval
Here is a part of my code:

====
aView interaction popupView:
        [ :e :v |
                self popupViewFor: e Text: stream contents on: v.
        ].
====
popupViewFor: anEntity Text: aString on: aView

aView shape:(MORectangleShape new text: aString).
aView node: anEntity.
^aView


Cheers,
Jannik

On Jul 22, 2010, at 10:10 , Alexandre Bergel wrote:

> Veronica use popupView: to display her text. It works pretty well =
> actually. Jannik is now using a similar approach I think. If something =
> give me the code, I can include it in the mainstream.
>
> Cheers,
> Alexandre
>
> NB: I know popupView is still a bit buggy (some views do not disappear).
>
>
> On 21 Jul 2010, at 22:57, Tudor Girba wrote:
>
>> Did anyone find a solution here?
>>
>> Doru
>>
>>
>> On 14 Jul 2010, at 10:42, Alexandre Bergel wrote:
>>
>>> He showed me the situation yesterday.
>>> This is not something I touched. I guess it has to do with the polymorph theme or something.
>>>
>>> Cheers,
>>> Alexandre
>>>
>>>
>>> On 13 Jul 2010, at 15:38, Tudor Girba wrote:
>>>
>>>> Hi Alex,
>>>>
>>>> Jannik is talking about the alignment of the text inside the popupText morph. Right now, the text appears centered, and he would like to have it left aligned. For example, if you want to display source code in the popupText, you want it to appear aligned to the left, like a normal text, and not centered like in a label.
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>> On 13 Jul 2010, at 12:57, Alexandre Bergel wrote:
>>>>
>>>>> The width of the popup is adjusted along the width of the text to be displayed.
>>>>> I still do not understand.
>>>>> I am visiting rmod now. Staying in Marcus' office.
>>>>>
>>>>> Are you around? You can then show it to me.
>>>>>
>>>>> Cheers,
>>>>> Alexandre
>>>>>
>>>>>
>>>>> On 13 Jul 2010, at 10:53, Laval Jannik wrote:
>>>>>
>>>>>> Hi Alex,
>>>>>>
>>>>>> I would like to align the text on left in a popup.
>>>>>> Actually the text is centered. I don't know if it is a "feature" of Mondrian or Theme in Pharo.
>>>>>>
>>>>>> Cheers,
>>>>>> Jannik
>>>>>>
>>>>>> On Jul 13, 2010, at 10:46 , Alexandre Bergel wrote:
>>>>>>
>>>>>>> I do not understand. To have the popup located on the left of the mouse?
>>>>>>>
>>>>>>> Alexandre
>>>>>>>
>>>>>>>
>>>>>>> On 12 Jul 2010, at 14:30, Laval Jannik wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> Is it possible in a popup to put the text on left ?
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> ---
>>>>>>>> Jannik Laval
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Moose-dev mailing list
>>>>>>>> [hidden email]
>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>>
>>>>>>> --
>>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Moose-dev mailing list
>>>>>>> [hidden email]
>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>
>>>>>> ---
>>>>>> Jannik Laval
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> [hidden email]
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>> --
>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Obvious things are difficult to teach."
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel  http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> www.tudorgirba.com
>>
>> "No matter how many recipes we know, we still value a chef."
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

---
Jannik Laval


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mondrian Popup text is center

Alexandre Bergel-4
Thanks,

I will have a look at it

Alexandre


On 22 Jul 2010, at 11:33, Laval Jannik wrote:

> Here is a part of my code:
>
> ====
> aView interaction popupView:
> [ :e :v |
> self popupViewFor: e Text: stream contents on: v.
> ].
> ====
> popupViewFor: anEntity Text: aString on: aView
>
> aView shape:(MORectangleShape new text: aString).
> aView node: anEntity.
> ^aView
>
>
> Cheers,
> Jannik
>
> On Jul 22, 2010, at 10:10 , Alexandre Bergel wrote:
>
>> Veronica use popupView: to display her text. It works pretty well =
>> actually. Jannik is now using a similar approach I think. If something =
>> give me the code, I can include it in the mainstream.
>>
>> Cheers,
>> Alexandre
>>
>> NB: I know popupView is still a bit buggy (some views do not disappear).
>>
>>
>> On 21 Jul 2010, at 22:57, Tudor Girba wrote:
>>
>>> Did anyone find a solution here?
>>>
>>> Doru
>>>
>>>
>>> On 14 Jul 2010, at 10:42, Alexandre Bergel wrote:
>>>
>>>> He showed me the situation yesterday.
>>>> This is not something I touched. I guess it has to do with the polymorph theme or something.
>>>>
>>>> Cheers,
>>>> Alexandre
>>>>
>>>>
>>>> On 13 Jul 2010, at 15:38, Tudor Girba wrote:
>>>>
>>>>> Hi Alex,
>>>>>
>>>>> Jannik is talking about the alignment of the text inside the popupText morph. Right now, the text appears centered, and he would like to have it left aligned. For example, if you want to display source code in the popupText, you want it to appear aligned to the left, like a normal text, and not centered like in a label.
>>>>>
>>>>> Cheers,
>>>>> Doru
>>>>>
>>>>>
>>>>> On 13 Jul 2010, at 12:57, Alexandre Bergel wrote:
>>>>>
>>>>>> The width of the popup is adjusted along the width of the text to be displayed.
>>>>>> I still do not understand.
>>>>>> I am visiting rmod now. Staying in Marcus' office.
>>>>>>
>>>>>> Are you around? You can then show it to me.
>>>>>>
>>>>>> Cheers,
>>>>>> Alexandre
>>>>>>
>>>>>>
>>>>>> On 13 Jul 2010, at 10:53, Laval Jannik wrote:
>>>>>>
>>>>>>> Hi Alex,
>>>>>>>
>>>>>>> I would like to align the text on left in a popup.
>>>>>>> Actually the text is centered. I don't know if it is a "feature" of Mondrian or Theme in Pharo.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Jannik
>>>>>>>
>>>>>>> On Jul 13, 2010, at 10:46 , Alexandre Bergel wrote:
>>>>>>>
>>>>>>>> I do not understand. To have the popup located on the left of the mouse?
>>>>>>>>
>>>>>>>> Alexandre
>>>>>>>>
>>>>>>>>
>>>>>>>> On 12 Jul 2010, at 14:30, Laval Jannik wrote:
>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> Is it possible in a popup to put the text on left ?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> ---
>>>>>>>>> Jannik Laval
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Moose-dev mailing list
>>>>>>>>> [hidden email]
>>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>>>
>>>>>>>> --
>>>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Moose-dev mailing list
>>>>>>>> [hidden email]
>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>>
>>>>>>> ---
>>>>>>> Jannik Laval
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Moose-dev mailing list
>>>>>>> [hidden email]
>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>
>>>>>> --
>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> [hidden email]
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>> --
>>>>> www.tudorgirba.com
>>>>>
>>>>> "Obvious things are difficult to teach."
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "No matter how many recipes we know, we still value a chef."
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> ---
> Jannik Laval
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Mondrian Popup text is center

Alexandre Bergel
In reply to this post by jannik laval
While I visited RMoD a few weeks ago, I noticed that some popup views remains displayed in the background. If someone has a repeatable scenario, it would help me. I do not use them very often.

Cheers,
Alexandre


On 22 Jul 2010, at 11:33, Laval Jannik wrote:

> Here is a part of my code:
>
> ====
> aView interaction popupView:
> [ :e :v |
> self popupViewFor: e Text: stream contents on: v.
> ].
> ====
> popupViewFor: anEntity Text: aString on: aView
>
> aView shape:(MORectangleShape new text: aString).
> aView node: anEntity.
> ^aView
>
>
> Cheers,
> Jannik
>
> On Jul 22, 2010, at 10:10 , Alexandre Bergel wrote:
>
>> Veronica use popupView: to display her text. It works pretty well =
>> actually. Jannik is now using a similar approach I think. If something =
>> give me the code, I can include it in the mainstream.
>>
>> Cheers,
>> Alexandre
>>
>> NB: I know popupView is still a bit buggy (some views do not disappear).
>>
>>
>> On 21 Jul 2010, at 22:57, Tudor Girba wrote:
>>
>>> Did anyone find a solution here?
>>>
>>> Doru
>>>
>>>
>>> On 14 Jul 2010, at 10:42, Alexandre Bergel wrote:
>>>
>>>> He showed me the situation yesterday.
>>>> This is not something I touched. I guess it has to do with the polymorph theme or something.
>>>>
>>>> Cheers,
>>>> Alexandre
>>>>
>>>>
>>>> On 13 Jul 2010, at 15:38, Tudor Girba wrote:
>>>>
>>>>> Hi Alex,
>>>>>
>>>>> Jannik is talking about the alignment of the text inside the popupText morph. Right now, the text appears centered, and he would like to have it left aligned. For example, if you want to display source code in the popupText, you want it to appear aligned to the left, like a normal text, and not centered like in a label.
>>>>>
>>>>> Cheers,
>>>>> Doru
>>>>>
>>>>>
>>>>> On 13 Jul 2010, at 12:57, Alexandre Bergel wrote:
>>>>>
>>>>>> The width of the popup is adjusted along the width of the text to be displayed.
>>>>>> I still do not understand.
>>>>>> I am visiting rmod now. Staying in Marcus' office.
>>>>>>
>>>>>> Are you around? You can then show it to me.
>>>>>>
>>>>>> Cheers,
>>>>>> Alexandre
>>>>>>
>>>>>>
>>>>>> On 13 Jul 2010, at 10:53, Laval Jannik wrote:
>>>>>>
>>>>>>> Hi Alex,
>>>>>>>
>>>>>>> I would like to align the text on left in a popup.
>>>>>>> Actually the text is centered. I don't know if it is a "feature" of Mondrian or Theme in Pharo.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Jannik
>>>>>>>
>>>>>>> On Jul 13, 2010, at 10:46 , Alexandre Bergel wrote:
>>>>>>>
>>>>>>>> I do not understand. To have the popup located on the left of the mouse?
>>>>>>>>
>>>>>>>> Alexandre
>>>>>>>>
>>>>>>>>
>>>>>>>> On 12 Jul 2010, at 14:30, Laval Jannik wrote:
>>>>>>>>
>>>>>>>>> Hi all,
>>>>>>>>>
>>>>>>>>> Is it possible in a popup to put the text on left ?
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> ---
>>>>>>>>> Jannik Laval
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Moose-dev mailing list
>>>>>>>>> [hidden email]
>>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>>>
>>>>>>>> --
>>>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Moose-dev mailing list
>>>>>>>> [hidden email]
>>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>>
>>>>>>> ---
>>>>>>> Jannik Laval
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Moose-dev mailing list
>>>>>>> [hidden email]
>>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>>
>>>>>> --
>>>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>>>> Alexandre Bergel  http://www.bergel.eu
>>>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Moose-dev mailing list
>>>>>> [hidden email]
>>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>>
>>>>> --
>>>>> www.tudorgirba.com
>>>>>
>>>>> "Obvious things are difficult to teach."
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Moose-dev mailing list
>>>>> [hidden email]
>>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>>
>>>> --
>>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>>> Alexandre Bergel  http://www.bergel.eu
>>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> [hidden email]
>>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "No matter how many recipes we know, we still value a chef."
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> [hidden email]
>>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> ---
> Jannik Laval
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev