Force label from a CLR block not to go out of its block bounds 77/10677/4
Alexandre HERISSE [Mon, 4 Mar 2013 12:50:52 +0000 (13:50 +0100)]
bd32d92c render CLR as a Latex equation but to improve renderering, the
latex equation should not be rendered out of the block's bounds.

Change-Id: Ic4b3642e2946fdedf20509f40980c6880c054a92

scilab/modules/xcos/etc/Xcos-style.xml

index ab6e428..d97b3ad 100644 (file)
     <add as="CLSS_f" extend="CLSS"/>
     <add as="CLR" extend="blockWithLabel">
         <add as="displayedLabel" value="$\frac{%s}{%s}$"/>
+        <add as="overflow" value="hidden"/>
     </add>
     <add as="CLR_f" extend="CLR"/>
     <add as="TIME_DELAY" extend="blockWithLabel">
     </add>
     <add as="M_freq" extend="blockWithLabel">
         <add as="displayedLabel" value="Multiple&lt;BR&gt;         frequency"/>
-         
     </add>
     <add as="ANDBLK" extend="Icon">
         <add as="image" value="$SCILAB/modules/xcos/images/blocks/ANDBLK.svg"/>