Explorar o código

Fixed the progressbar to only require 16px in height

Ralf Hölzemer %!s(int64=11) %!d(string=hai) anos
pai
achega
5fc787abd8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      scene/resources/default_theme/default_theme.cpp

+ 2 - 2
scene/resources/default_theme/default_theme.cpp

@@ -367,8 +367,8 @@ void make_default_theme() {
 
 	// ProgressBar
 
-	t->set_stylebox("bg","ProgressBar", make_stylebox( progress_bar_png,5,5,5,5) );
-	t->set_stylebox("fg","ProgressBar", make_stylebox( progress_fill_png,6,6,6,6) );
+	t->set_stylebox("bg","ProgressBar", make_stylebox( progress_bar_png,4,4,4,4,0,0,0,0) );
+	t->set_stylebox("fg","ProgressBar", make_stylebox( progress_fill_png,6,6,6,6,2,1,2,1) );
 
 	t->set_font("font","ProgressBar", default_font );