<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Add padding around text in rectangles</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/</id><updated>2022-12-16T13:46:54.171000Z</updated><subtitle>Recent posts to Add padding around text in rectangles</subtitle><entry><title>Add padding around text in rectangles</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/?limit=25#cc63/ab9c/db3f/aabf/406d" rel="alternate"/><published>2022-12-16T13:46:54.171000Z</published><updated>2022-12-16T13:46:54.171000Z</updated><author><name>j-zauner</name><uri>https://forge.codesys.com/u/j-zauner/</uri></author><id>https://forge.codesys.com887dae42887cbd78eb0bd10c5ac1975b189eecb9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;you're welcome :)&lt;/p&gt;
&lt;p&gt;I can ask a collegue on monday, because I couldn't find anything for this in the code. Normally, the width depends on the element's scrollbar settings or it is a fixed default width. The Table element for example contains a property "Scroll bar size".&lt;/p&gt;
&lt;p&gt;Regards&lt;br/&gt;
Julian&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add padding around text in rectangles</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/?limit=25#cc63/ab9c/db3f/aabf" rel="alternate"/><published>2022-12-16T12:32:23.854000Z</published><updated>2022-12-16T12:32:23.854000Z</updated><author><name>surikan</name><uri>https://forge.codesys.com/u/surikan/</uri></author><id>https://forge.codesys.com122013eb5ae1bc28371a686bb18142faefbffe95</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the update! Glad to hear there will be a manual!&lt;br/&gt;
In the mean time could you please describe how to set the Scroll bar default width please? (The one that appears when "Scroll elements with scrollbar" option is enabled)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add padding around text in rectangles</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/?limit=25#cc63/ab9c/db3f" rel="alternate"/><published>2022-12-16T10:35:13.095000Z</published><updated>2022-12-16T10:35:13.095000Z</updated><author><name>j-zauner</name><uri>https://forge.codesys.com/u/j-zauner/</uri></author><id>https://forge.codesys.comb9c2c3fd617a5a49f35824b1f9f84b5de3acdc84</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi surikan,&lt;/p&gt;
&lt;p&gt;Currently, there is not much information about the style entries available.&lt;br/&gt;
But we're working on creating a documentation for this. I don't know of an exact date but I could imagine that it will be online in the next few months.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add padding around text in rectangles</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/?limit=25#cc63/ab9c" rel="alternate"/><published>2022-12-15T12:41:52.548000Z</published><updated>2022-12-15T12:41:52.548000Z</updated><author><name>surikan</name><uri>https://forge.codesys.com/u/surikan/</uri></author><id>https://forge.codesys.com3908994cdbd5b22a8937ad98c0bf5758734098bb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi j-zauner,&lt;br/&gt;
Do you know if there is manual describing the style names and value limits for each visual component?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add padding around text in rectangles</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/?limit=25#8c3b/64ec/2c69/902e/4867" rel="alternate"/><published>2022-11-30T07:18:25.870000Z</published><updated>2022-11-30T07:18:25.870000Z</updated><author><name>carohe</name><uri>https://forge.codesys.com/u/carohe/</uri></author><id>https://forge.codesys.comd86612906fbb291f7667b054de75ccb181e3a4bd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Julian,&lt;/p&gt;
&lt;p&gt;thank you for creating the improvement.&lt;br/&gt;
Your suggestion with the workaround sounds good, but I also wanted to use the padding in a table. So I won't be able to use the workaround there. But on the rectangles I will use your workaround.&lt;/p&gt;
&lt;p&gt;Thank you again for your help!&lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
carohe&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add padding around text in rectangles</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/?limit=25#8c3b/64ec/2c69/902e" rel="alternate"/><published>2022-11-29T14:24:42.710000Z</published><updated>2022-11-29T14:24:42.710000Z</updated><author><name>j-zauner</name><uri>https://forge.codesys.com/u/j-zauner/</uri></author><id>https://forge.codesys.com9c41eb001e87deff404422f81a0024ccb0426927</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi carohe,&lt;/p&gt;
&lt;p&gt;I'm glad it helped you.&lt;/p&gt;
&lt;p&gt;Currently there is no other way with these style entries.&lt;br/&gt;
As a workaround you could put 2 rectangles into a group and the inner rectangle contains the text and the alignment and is a bit smaller than the outer one. Then the line break would occur not exactly on the right edge.&lt;/p&gt;
&lt;p&gt;I will create an improvement in our system for this.&lt;/p&gt;
&lt;p&gt;And I found some more documentation regarding this topic: &lt;a href="https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_aligning_text_with_spacing_to_the_element_frame.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_aligning_text_with_spacing_to_the_element_frame.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
Julian&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add padding around text in rectangles</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/?limit=25#8c3b/64ec/2c69" rel="alternate"/><published>2022-11-29T13:45:26.986000Z</published><updated>2022-11-29T13:45:26.986000Z</updated><author><name>carohe</name><uri>https://forge.codesys.com/u/carohe/</uri></author><id>https://forge.codesys.com0c56b4a7a98bbe8e7eeca8def13b044223d0ea0e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Julian,&lt;/p&gt;
&lt;p&gt;thank you very much, this works now!&lt;br/&gt;
It is a bit sad that it only works when the alignment is not centered, but at least it works with left/right aligment.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
carohe&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add padding around text in rectangles</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/?limit=25#8c3b/64ec" rel="alternate"/><published>2022-11-29T13:18:21.466000Z</published><updated>2022-11-29T13:18:21.466000Z</updated><author><name>j-zauner</name><uri>https://forge.codesys.com/u/j-zauner/</uri></author><id>https://forge.codesys.com2f1b46f2dce8395b375c1352b6910cd64d247d1f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi together,&lt;/p&gt;
&lt;p&gt;I was missing some information.&lt;/p&gt;
&lt;p&gt;The padding-Feature will only work if:&lt;br/&gt;
&lt;em&gt;  the element has "Text properties" "Horizontal alignment" and "Vertical alignment"&lt;br/&gt;
&lt;/em&gt; Horizontal Text alignment is not centered or&lt;br/&gt;
* Vertical Text alignment is not centered&lt;/p&gt;
&lt;p&gt;It could work for each element if you place the additional styles under it, but I'm not sure about this.&lt;br/&gt;
If you use it like in the attached style, then it will be applied to all elements I guess.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add padding around text in rectangles</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/?limit=25#70a8/1081" rel="alternate"/><published>2022-11-29T09:55:09.844000Z</published><updated>2022-11-29T09:55:09.844000Z</updated><author><name>carohe</name><uri>https://forge.codesys.com/u/carohe/</uri></author><id>https://forge.codesys.com900876c83d456770404d5e69ffd14b7cc9e78707</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;br/&gt;
thank you very much! I have tried several options, but nothing worked. I feel like I am missing the information how to link the entry in the style editor with the actual element. I am trying to understand how the style editor works and how these elements are linked but I haven't understood it yet.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
carohe&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Add padding around text in rectangles</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/631ff52335/?limit=25#70a8" rel="alternate"/><published>2022-11-29T08:45:52.350000Z</published><updated>2022-11-29T08:45:52.350000Z</updated><author><name>ignat</name><uri>https://forge.codesys.com/u/ignat/</uri></author><id>https://forge.codesys.comda4ad4989833c4aa2b80c6669f840edeff7462b7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I've never tried it, so only suggestion:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;maybe you could try to add the entry inside the 'Element' or e.g. 'TextField'.&lt;br/&gt;
So the full path will be like TextField -&amp;gt; Text -&amp;gt; Margin - Horizontal.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry></feed>