GUI in Python using Guizero and Raspberry Pi

0

I am working on my electrical engineering course completion project and need to perform a front end for graphical interface visualization for data verification.

I'm using raspberry pi 3 and the guizero library to create an initial layout, however I'm experiencing some problems right from the beginning that I tried to heal but without success.

The initial problem is that of the grid in the layout, I'm trying to insert a picture of the university logo along with my academic data, but between the name of the university and the board is a blank space that I would like to remove.

When I run without the image, this blank space is not displayed.

Note: I have tried to use the Span but without success, unless I am using it wrong.

The problem and code print below.

from guizero import *

app = App(title = "Página Inicial", layout = "grid")
app.tk.attributes("-fullscreen",True)
logo = Picture(app, image = "Logo.png", grid = [0,0])
logo.width = 280
logo.height = 96
university = Text(app, text = "Centro Universitário de Brasília - UniCeub", grid = [1,0], align = "left")
university1 = Text(app, text = "Faculdade de Tecnologia e Ciências Sociais", grid = [1,1], align = "left")
student = Text(app, text = "Daniel Oliveira Barbosa", grid = [1,2], align = "left")
academic_register = Text(app, text = " 21485122", grid = [1,3], align = "left")
app.display()

    
asked by anonymous 18.09.2018 / 22:49

0 answers