You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import nimx / [ window, layout, button, text_field ]
runApplication:
let w = newWindow(newRect(50, 50, 500, 150))
w.makeLayout: # DSL follows
- Label as greetingLabel: # Add a view of type Label to the window. Create a local reference to it named greetingLabel.
center == super # center point of the label should be equal to center point of superview
width == 300 # width should be 300 points
height == 15 # well, this should be obvious now
text: "Press the Greet button to see thegreeting" # property "text" should be set to whatever the label should display
On nim version
Nim Compiler Version 1.4.2 [Linux: amd64]
with libSDL2-2.0
Am I missing an opengl library I need to install or something equally simple?
The text was updated successfully, but these errors were encountered: