File tree 2 files changed +17
-0
lines changed
2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ class Base(glooey.Background):
211
211
custom_left = assets .image ('fill_bars/basic/base_left.png' )
212
212
custom_center = assets .texture ('fill_bars/basic/base_center.png' )
213
213
custom_right = assets .image ('fill_bars/basic/base_right.png' )
214
+ custom_alignment = 'fill horz'
214
215
custom_htile = True
215
216
216
217
class Fill (glooey .Background ):
@@ -244,6 +245,7 @@ class Base(glooey.Background):
244
245
custom_left = assets .image ('fill_bars/fancy/base_left.png' )
245
246
custom_center = assets .texture ('fill_bars/fancy/base_center.png' )
246
247
custom_right = assets .image ('fill_bars/fancy/base_right.png' )
248
+ custom_alignment = 'fill horz'
247
249
custom_htile = True
248
250
249
251
class Fill (glooey .Background ):
Original file line number Diff line number Diff line change
1
+ #!/usr/bin/env python3
2
+
3
+ import pyglet
4
+ import glooey .themes .golden as golden
5
+
6
+ print ("Fill should be superimposed on base, not separated." )
7
+
8
+ window = pyglet .window .Window ()
9
+ gui = golden .Gui (window )
10
+ bar = golden .FancyFillBar ()
11
+ gui .add (bar )
12
+
13
+ bar .fraction_filled = .5
14
+
15
+ pyglet .app .run ()
You can’t perform that action at this time.
0 commit comments