Skip to content

Instantly share code, notes, and snippets.

@dekoza
Created August 25, 2012 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dekoza/3463851 to your computer and use it in GitHub Desktop.
Save dekoza/3463851 to your computer and use it in GitHub Desktop.
Files for kivy issue #649
#coding: utf-8
import kivy
kivy.require('1.4.0')
from kivy.uix.tabbedpanel import TabbedPanel
class SimpleWindow(TabbedPanel):
pass
if __name__ == '__main__':
from kivy.app import App
class SimpleApp(App):
def build(self):
s = SimpleWindow()
return s
SimpleApp().run()
<SimpleWindow>:
# TabbedPanel
default_tab_content: kivy_debug_1
default_tab_text: 'Kivy Debug'
tab_pos: 'top_left'
BoxLayout:
id: kivy_debug_1
orientation: 'vertical'
Label:
font_size: 25
text: "Spinner debug"
size_hint_y: None
height: 45
GridLayout:
hint_size_x: 1
cols: 2
Label:
size_hint_x: .2
text: "Rzeka"
font_size: 20
size_hint_y: None
Spinner:
values: ("Wisła", "Drwęca", "Soła")
size_hint_y: None
@dekoza
Copy link
Author

dekoza commented Aug 25, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment