Skip to content

Commit

Permalink
Investigating issue #426
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisteach committed Apr 4, 2018
1 parent 027ecc6 commit e567641
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
Binary file added examples/issues/bg.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions examples/issues/issue426.py
@@ -0,0 +1,29 @@
import sys
sys.path.append("../../")

from appJar import gui

with gui("GUI", "600x600") as app:
# app.label("after", pos=(0, 4, 1, 3), bg="yellow")
# app.addCanvasImage("c1", 0, 0, "bg.jpg")
# app.label('top left', pos=(0,0,1,1), bg="red", sticky="", stretch="none")
# app.label('top right', pos=(0,2,1,1), bg="blue", sticky="", stretch="none")
#
# app.button("PRESS", None, pos=(1,1,1,1))
#
# app.label('bottom left', pos=(2,0,1,1), bg="green", sticky="", stretch="none")
# app.label('bottom right', pos=(2,2,1,3), bg="pink", stretch="none")

app.label("one", pos=(0,1,2,2), bg="red", sticky="news")
app.label("two", pos=(0,3,2,2), bg="orange", sticky="news")

app.label("three", pos=(2,1,2,2), bg="yellow", sticky="news")
app.label("four", pos=(2,3,2,2), bg="green", sticky="news")

app.label("mid", pos=(1,1,2,2), bg="blue", sticky="news")
# app.addCanvas("c1", 1,1,2,2)

app.label("six", pos=(4,0))
app.label("seven", pos=(4,1))
app.label("eight", pos=(4,2))
app.label("nine", pos=(4,3))

0 comments on commit e567641

Please sign in to comment.