summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Hölzemer <r.hoelzemer@posteo.de>2014-09-25 01:25:16 +0200
committermarynate <mary.w.nate@gmail.com>2015-01-15 13:29:58 +0800
commit5fc787abd8d373002439ca01b437fa8f46ab1e24 (patch)
tree9fa9f426789aa5ff1f10f2abef0eb668c891fdf3
parent6983cb80eab6631e99e5a4cf7224b802a4e131b1 (diff)
Fixed the progressbar to only require 16px in height
-rw-r--r--scene/resources/default_theme/default_theme.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/default_theme/default_theme.cpp b/scene/resources/default_theme/default_theme.cpp
index efcd10eb03..0dd915e741 100644
--- a/scene/resources/default_theme/default_theme.cpp
+++ b/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 );