Hey guys,
I'm making a notes skin and by looking at other skins the most common choice for that is the InputText plugin.
This works pretty well expect it doesn't save or display multiple lines. Looks like the reason for that is variables do not accept multilines.
If I type:
It'll only save -Test1.
It saves the text as a variable in the skins .ini as such:
And therefore doesn't recognize the second line.
Is there a solution or workaround for that?
This is the full code:
I'm making a notes skin and by looking at other skins the most common choice for that is the InputText plugin.
This works pretty well expect it doesn't save or display multiple lines. Looks like the reason for that is variables do not accept multilines.
If I type:
Code:
-Test1-Test2
It saves the text as a variable in the skins .ini as such:
Code:
Input=-Test1-Test2
Is there a solution or workaround for that?
This is the full code:
Code:
[Variables]@include=#@#styles.incInput=[MeasureInput]Measure=PluginPlugin=InputTextX=10Y=10W=290H=290DefaultValue="#Input#"FontFace=#Font#FontColor=#Lavender#FontWeight=600FontSize=12StringAlign=LeftSolidColor=#Surface0#Command1=[!WriteKeyValue "Variables" "Input" "$UserInput$"][!Refresh]ClipString=1DynamicVariables=1AntiAlias=1[Input]Meter=StringX=10Y=10W=290H=290Text=#Input#FontFace=#Font#FontColor=#Lavender#FontWeight=600FontSize=12StringAlign=LeftLeftMouseUpAction=[!CommandMeasure "MeasureInput" "ExecuteBatch 1"]ClipString=1DynamicVariables=1AntiAlias=1
Statistics: Posted by conaN — Yesterday, 9:26 pm — Replies 1 — Views 64