Fixed a bug in Am2900; created dlatch8/80; relayouted some components
[Mograsim.git] / net.mograsim.logic.model / src / net / mograsim / logic / model / model / components / atomic / ModelTextComponent.java
index 6a0c93f..ac0f64d 100644 (file)
@@ -26,11 +26,13 @@ public class ModelTextComponent extends ModelComponent
 
        public ModelTextComponent(LogicModelModifiable model, String text, String name)
        {
-               super(model, name);
+               super(model, name, false);
                this.text = text;
                // If size is unset, it defaults to 0, which could prohibit this component from being rendered, which would prohibit the size being
                // set to a better guess
                setSize(1, 1);
+
+               init();
        }
 
        @Override