set default margin to 0,0,0,0

This commit is contained in:
MihailRis 2024-11-18 05:24:16 +03:00
parent 86beea0a61
commit 8e1d6b9f03

View File

@ -81,7 +81,7 @@ namespace gui {
/// @brief element color when clicked /// @brief element color when clicked
glm::vec4 pressedColor {1.0f}; glm::vec4 pressedColor {1.0f};
/// @brief element margin (only supported for Panel sub-nodes) /// @brief element margin (only supported for Panel sub-nodes)
glm::vec4 margin {1.0f}; glm::vec4 margin {0.0f};
/// @brief is element visible /// @brief is element visible
bool visible = true; bool visible = true;
/// @brief is mouse over the element /// @brief is mouse over the element