Skip to content

Instantly share code, notes, and snippets.

@lukesnow
Created October 25, 2016 04:53
Show Gist options
  • Save lukesnow/4e4db7aaed0ba88ce9f7e02da48f8cfe to your computer and use it in GitHub Desktop.
Save lukesnow/4e4db7aaed0ba88ce9f7e02da48f8cfe to your computer and use it in GitHub Desktop.
rainlogger.pyui
[
{
"class" : "View",
"attributes" : {
"name" : "rainlogger",
"background_color" : "RGBA(1.000000,1.000000,1.000000,1.000000)",
"tint_color" : "RGBA(0.000000,0.478000,1.000000,1.000000)",
"enabled" : true,
"border_color" : "RGBA(0.000000,0.000000,0.000000,1.000000)",
"flex" : ""
},
"frame" : "{{0, 0}, {537, 612}}",
"selected" : false,
"nodes" : [
{
"class" : "DatePicker",
"attributes" : {
"class" : "DatePicker",
"mode" : 2,
"frame" : "{{-12, 74}, {320, 216}}",
"uuid" : "7C2C0188-7654-4543-80E5-1EA9867CF836",
"name" : "datepicker1"
},
"frame" : "{{129, 124}, {320, 216}}",
"selected" : false,
"nodes" : [
]
},
{
"class" : "TextField",
"attributes" : {
"alignment" : "center",
"autocorrection_type" : "default",
"font_size" : 17,
"font_name" : "<System>",
"placeholder" : "inches of rain (0.00)",
"frame" : "{{149, 286}, {200, 32}}",
"text" : "",
"name" : "inchesRain",
"secure" : false,
"spellchecking_type" : "default",
"uuid" : "63F83B71-4FCB-4603-A3ED-1D8DCDE23F54",
"class" : "TextField"
},
"frame" : "{{186, 58}, {200, 32}}",
"selected" : false,
"nodes" : [
]
},
{
"class" : "Button",
"attributes" : {
"font_size" : 15,
"title" : "Send",
"name" : "sendEntry",
"action" : "makeitRain",
"class" : "Button",
"frame" : "{{209, 286}, {80, 32}}",
"uuid" : "380B2189-FEE4-43D5-97CE-444489AEF6D5"
},
"frame" : "{{247, 367}, {80, 34}}",
"selected" : true,
"nodes" : [
]
},
{
"class" : "Label",
"attributes" : {
"font_size" : 18,
"text" : "status",
"font_name" : "<System>",
"name" : "label1",
"class" : "Label",
"alignment" : "center",
"frame" : "{{194, 290}, {150, 32}}",
"uuid" : "3FF94750-4EBD-41A6-B167-F2DE97DA0154"
},
"frame" : "{{201, 440}, {163, 50}}",
"selected" : false,
"nodes" : [
]
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment