Mejoras en la gui (2)
This commit is contained in:
parent
b6ebd06342
commit
1dca8f6e35
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
import json
|
||||
import subprocess
|
||||
import sys
|
||||
|
@ -177,7 +178,7 @@ class KaraokeApp(App):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
Window.fullscreen = True
|
||||
# Window.fullscreen = True
|
||||
Config.set('graphics', 'font_name', 'CyrBit.ttf')
|
||||
Config.write()
|
||||
KaraokeApp(Path(sys.argv[1])).run()
|
||||
KaraokeApp(Path('../bideoak/')).run()
|
||||
|
|
|
@ -2,7 +2,7 @@ KaraokeGUI:
|
|||
|
||||
<Label>:
|
||||
font_name: 'CyrBit.ttf'
|
||||
font_size: 24
|
||||
font_size: 12
|
||||
|
||||
<Action@Button>:
|
||||
size_hint: 1, None
|
||||
|
@ -12,7 +12,7 @@ KaraokeGUI:
|
|||
|
||||
<Song>:
|
||||
size_hint: None, None
|
||||
size: 200, 200
|
||||
size: 100, 100
|
||||
orientation: 'vertical'
|
||||
padding: 3
|
||||
spacing: 0
|
||||
|
@ -53,6 +53,7 @@ KaraokeGUI:
|
|||
color: 0.9, 0.1, 0.3, 1
|
||||
outline_color: 1, 1, 1, 1
|
||||
outline_width: 1
|
||||
font_size: 24
|
||||
size_hint: 1, 0.1
|
||||
text: ''
|
||||
Image:
|
||||
|
@ -61,13 +62,12 @@ KaraokeGUI:
|
|||
|
||||
BoxLayout: # Bottom actions and slides
|
||||
orientation: 'horizontal'
|
||||
height: 220
|
||||
height: 120
|
||||
size_hint: 1, None
|
||||
|
||||
BoxLayout:
|
||||
orientation: 'vertical'
|
||||
height: 220
|
||||
size_hint: 0.3, None
|
||||
size_hint: 0.3, 1
|
||||
Action:
|
||||
text: 'Play'
|
||||
on_press: root.play()
|
||||
|
@ -83,8 +83,7 @@ KaraokeGUI:
|
|||
id: songs_scroll
|
||||
do_scroll_x: True
|
||||
do_scroll_y: False
|
||||
size_hint: 0.7, None
|
||||
height: 220
|
||||
size_hint: 0.7, 1
|
||||
|
||||
GridLayout:
|
||||
id: song_container
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Kivy==1.11.1
|
Reference in New Issue