Created
August 25, 2012 11:07
-
-
Save dekoza/3463851 to your computer and use it in GitHub Desktop.
Files for kivy issue #649
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Screenshot