I suggest using a vertical BoxLayout, rather than a GridLayout. Do not set the default height.
If you would like more help, please attach a minimal executable example. Also note the code below is not properly formatted. I have found that if you right click on the web-set and select “paste as plain-text” the formatting is preserved.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/d4760ffa-0443-401c-8616-203563492470n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/_LVtU-fAy9I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/6066157f.1c69fb81.a4479.078fSMTPIN_ADDED_MISSING%40gmr-mx.google.com.
Give this a try
FloatLayout:
BoxLayout:
orientation: 'vertical'
size_hint: .3, .8
pos_hint: {'right':.5, 'center_y': .5}
BoxLayout:
size_hint_y: .08
Button:
text: 'Screen1'
on_release: app.root.ids.sm.current = 'input screen'
Button:
text: 'Screen2'
on_release: app.root.ids.sm.current = 'other screen'
ScreenManager:
id: sm
InputScreen:
name: 'input screen'
OtherScreen:
name: 'other screen'
<InputScreen@Screen>:
ScrollView:
canvas.before:
Color:
rgba: (1, 0, 0, .5)
Rectangle:
pos: self.pos
size: self.size
do_scroll_x: False
do_scroll_y: True
BoxLayout:
orientation: 'vertical'
size_hint: None, None
height: self.minimum_height
width: self.parent.width
padding: 10
Label:
text: 'Name'
size_hint_y: None
height: 40
TextInput:
hint_text: 'Name as per marksheet'
size_hint_y: None
height: 40
Label:
text: 'Address'
size_hint_y: None
height: 40
TextInput:
hint_text: 'Enter your permanent address'
size_hint_y: None
height: 300
<OtherScreen@Screen>:
Label:
text: 'The Other Screen'
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CAH_LR1Xn%3DFRwZqwFW5XecVxP4pjp3oSbDEdnKp-ff5CwiLoxTw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/60665285.1c69fb81.fb690.b31eSMTPIN_ADDED_MISSING%40gmr-mx.google.com.