Answer the question
In order to leave comments, you need to log in
How can I place a Label in the middle and an Image a little to the right of the Label in a GridLayout?
There are two widgets in GridLayout in kv file. These are Label and Image. I need to place the Label in the middle and the Image just to the right of the Label. How can i do this ? Here is my kv file:
<MainScreen>
# ButtonFloat:
btns: btns
GridLayout:
cols: 1
Label:
text: root.message
GridLayout:
cols: 2
Label:
id: 'mylabel'
text: root.message_one
Image:
source: 'img/icon-back.png'
GridLayout:
cols: 3
id: btns
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question