Don't set left padding in ListBox and ComboBox by default as it affects the background of the selected item

0.8
Bruno Van de Velde 2017-08-14 19:50:13 +02:00
parent 4f17ea26d6
commit 7880b9e00f
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ namespace tgui
static std::map<std::string, ObjectConverter> defaultRendererValues =
{
{"borders", Borders{2}},
{"padding", Padding{2, 0, 0, 0}},
{"padding", Padding{0}},
{"bordercolor", sf::Color::Black},
{"textcolor", sf::Color::Black},
{"backgroundcolor", Color{245, 245, 245}},

View File

@ -33,7 +33,7 @@ namespace tgui
static std::map<std::string, ObjectConverter> defaultRendererValues =
{
{"borders", Borders{2}},
{"padding", Padding{2, 0, 0, 0}},
{"padding", Padding{0}},
{"bordercolor", sf::Color::Black},
{"textcolor", Color{60, 60, 60}},
{"textcolorhover", sf::Color::Black},