Main Site Documentation

Change version of designer


#1

Can we get the designer version updated to match with the SDK version?

It’s a small thing I know but it makes life easier if I don’t have to remember to change it? :slight_smile:


#2

Updated


#3

Thanks Josh.

Can you also check why the text does not show the correct size on loading a new XML?

For example, I have a button on a form with font size 7 (Droid sans 24) but it appears much smaller when I do a load. I have to re-select the size for it to appear on the button properly.

This happens with all of the components, not just buttons.

They are not an exact match for the form when I finally run it on the device but it does help visually to see what it will closely look like.


#4

It should load the proper size now.


#5

Only buttons seem to be working. Textblock and Textbox are not

Try this as a sample.


<Glide Version="1.0.7">
  <Window Name="calibrateWindow" Width="800" Height="480" BackColor="A0F0A0">
    <TextBlock Name="labelTitle" X="0" Y="0" Width="800" Height="32" Alpha="255" Text="Calibration of Inputs" TextAlign="Center" TextVerticalAlign="Middle" Font="6" FontColor="0" BackColor="A0A0A0" ShowBackColor="True"/>
    <TextBlock Name="labelVolts" X="318" Y="376" Width="150" Height="32" Alpha="255" Text="Live Voltage" TextAlign="Center" TextVerticalAlign="Middle" Font="6" FontColor="0" BackColor="000000" ShowBackColor="False"/>
    <TextBlock Name="label20mA" X="15" Y="160" Width="130" Height="50" Alpha="255" Text="20mA input" TextAlign="Left" TextVerticalAlign="Middle" Font="6" FontColor="0" BackColor="000000" ShowBackColor="False"/>
    <TextBlock Name="label4mA" X="15" Y="55" Width="130" Height="50" Alpha="255" Text="4mA input" TextAlign="Left" TextVerticalAlign="Middle" Font="6" FontColor="0" BackColor="000000" ShowBackColor="False"/>
    <TextBlock Name="tankSensor" X="291" Y="330" Width="200" Height="40" Alpha="255" Text="Tank Sensor 1" TextAlign="Center" TextVerticalAlign="Middle" Font="6" FontColor="FFFFFF" BackColor="808080" ShowBackColor="True"/>
    <TextBox Name="lowCalc" X="150" Y="55" Width="150" Height="50" Alpha="255" Text="0.0" TextAlign="Right" Font="7" FontColor="000000"/>
    <TextBox Name="highCalc" X="150" Y="160" Width="150" Height="50" Alpha="255" Text="0.0" TextAlign="Right" Font="7" FontColor="000000"/>
    <TextBox Name="liveCalc" X="319" Y="408" Width="150" Height="50" Alpha="255" Text="0.0" TextAlign="Right" Font="7" FontColor="000000"/>
    <Button Name="lowCapture" X="325" Y="55" Width="120" Height="50" Alpha="255" Text="Capture" Font="6" FontColor="000000" DisabledFontColor="808080" TintColor="000000" TintAmount="0"/>
    <Button Name="highCapture" X="325" Y="160" Width="120" Height="50" Alpha="255" Text="Capture" Font="6" FontColor="000000" DisabledFontColor="808080" TintColor="000000" TintAmount="0"/>
    <Button Name="cancelButton" X="635" Y="390" Width="150" Height="80" Alpha="255" Text="Cancel" Font="7" FontColor="000000" DisabledFontColor="808080" TintColor="000000" TintAmount="0"/>
    <Button Name="acceptButton" X="10" Y="390" Width="150" Height="80" Alpha="255" Text="Accept" Font="7" FontColor="000000" DisabledFontColor="808080" TintColor="000000" TintAmount="0"/>
    <Button Name="nextCal" X="640" Y="50" Width="150" Height="80" Alpha="255" Text="Next" Font="7" FontColor="000000" DisabledFontColor="808080" TintColor="000000" TintAmount="0"/>
    <Button Name="prevCal" X="640" Y="150" Width="150" Height="80" Alpha="255" Text="Previous" Font="7" FontColor="000000" DisabledFontColor="808080" TintColor="000000" TintAmount="0"/>
    <TextBlock Name="instance124760" X="208" Y="285" Width="220" Height="32" Alpha="255" Text="Filter this input?" TextAlign="Right" TextVerticalAlign="Middle" Font="6" FontColor="0" BackColor="000000" ShowBackColor="False"/>
    <CheckBox Name="Filtered" X="433" Y="284" Width="32" Height="32" Alpha="255" Checked="False"/>
    <TextBlock Name="instance137111" X="0" Y="256" Width="800" Height="16" Alpha="255" Text="" TextAlign="Left" TextVerticalAlign="Top" Font="6" FontColor="0" BackColor="C0C0C0" ShowBackColor="True"/>
  </Window>
</Glide>


#6

Updated.