Don't set left padding in ListBox and ComboBox by default as it affects the background of the selected item
parent
4f17ea26d6
commit
7880b9e00f
|
@ -35,7 +35,7 @@ namespace tgui
|
||||||
static std::map<std::string, ObjectConverter> defaultRendererValues =
|
static std::map<std::string, ObjectConverter> defaultRendererValues =
|
||||||
{
|
{
|
||||||
{"borders", Borders{2}},
|
{"borders", Borders{2}},
|
||||||
{"padding", Padding{2, 0, 0, 0}},
|
{"padding", Padding{0}},
|
||||||
{"bordercolor", sf::Color::Black},
|
{"bordercolor", sf::Color::Black},
|
||||||
{"textcolor", sf::Color::Black},
|
{"textcolor", sf::Color::Black},
|
||||||
{"backgroundcolor", Color{245, 245, 245}},
|
{"backgroundcolor", Color{245, 245, 245}},
|
||||||
|
|
|
@ -33,7 +33,7 @@ namespace tgui
|
||||||
static std::map<std::string, ObjectConverter> defaultRendererValues =
|
static std::map<std::string, ObjectConverter> defaultRendererValues =
|
||||||
{
|
{
|
||||||
{"borders", Borders{2}},
|
{"borders", Borders{2}},
|
||||||
{"padding", Padding{2, 0, 0, 0}},
|
{"padding", Padding{0}},
|
||||||
{"bordercolor", sf::Color::Black},
|
{"bordercolor", sf::Color::Black},
|
||||||
{"textcolor", Color{60, 60, 60}},
|
{"textcolor", Color{60, 60, 60}},
|
||||||
{"textcolorhover", sf::Color::Black},
|
{"textcolorhover", sf::Color::Black},
|
||||||
|
|
Loading…
Reference in New Issue