On 6 janv. 2010, at 16:58, Alexandre Bergel wrote:
> You can easy add space character before and after. You can also set a height: and a
width: bigger than the text.
Yep
height: [:model | model name..... ]
but how I can compute the text width and height? There are textWidthFor: and
textHeightFor: but those are internal methods.
>
> Alexandre
>
>
> On 6 Jan 2010, at 12:42, Simon Denier wrote:
>
>>
>> On 6 janv. 2010, at 16:08, Alexandre Bergel wrote:
>>
>>> I am not sure to understand.
>>> It does not work using node:forIt: ?
>>
>>
>> I dont know, but if I can avoid the extra complexity of embedding a node into
another, that's good. It could be in the shape, then the shape knows how much extra
space it adds around its content.
>>
>>
>>
>>>
>>> Alexandre
>>>
>>>
>>> On 6 Jan 2010, at 11:16, Simon Denier wrote:
>>>
>>>>
>>>> Hi there
>>>>
>>>> Is there a way to add some padding around the text inside a shape (for
example, inside a MORectangleShape)?
>>>>
>>>> thanks in advance
>>>>
>>>> --
>>>> Simon
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Moose-dev mailing list
>>>> Moose-dev(a)iam.unibe.ch
>>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>>
>>> --
>>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>>> Alexandre Bergel
http://www.bergel.eu
>>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Moose-dev mailing list
>>> Moose-dev(a)iam.unibe.ch
>>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>>
>> --
>> Simon
>>
>>
>>
>>
>> _______________________________________________
>> Moose-dev mailing list
>> Moose-dev(a)iam.unibe.ch
>>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel
http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> Moose-dev(a)iam.unibe.ch
>
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Simon
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch