changed to spdlog
This commit is contained in:
parent
35fb471e2a
commit
c674bcd275
@ -8,7 +8,7 @@ void YogaWidget::setYDisplay(QString rawValue){
|
||||
int value = NodeStyle::NodeDisplay.at(rawDisplay);
|
||||
YGNodeStyleSetDisplay(this->getFlexNode(),static_cast<YGDisplay>(value));
|
||||
this->_yDisplay = rawValue;
|
||||
spdlog::info("Value set display {}", rawDisplay);
|
||||
spdlog::info("set display: {}", rawDisplay);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: display: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -19,7 +19,7 @@ void YogaWidget::setYAlignItems(QString rawValue){
|
||||
int value = NodeStyle::NodeAlign.at(rawAlignItems);
|
||||
YGNodeStyleSetAlignItems(this->getFlexNode(),static_cast<YGAlign>(value));
|
||||
this->_yAlignItems = rawValue;
|
||||
spdlog::info("Value set alignItems {}", rawAlignItems);
|
||||
spdlog::info("set alignItems: {}", rawAlignItems);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: alignItems: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -30,7 +30,7 @@ void YogaWidget::setYAlignContent(QString rawValue){
|
||||
int value = NodeStyle::NodeAlign.at(rawAlignContent);
|
||||
YGNodeStyleSetAlignContent(this->getFlexNode(),static_cast<YGAlign>(value));
|
||||
this->_yAlignContent = rawValue;
|
||||
qDebug()<<"Value set alignContent "<<rawValue;
|
||||
spdlog::info("set alignContent: {}", rawAlignContent);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: alignContent: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -41,7 +41,7 @@ void YogaWidget::setYAlignSelf(QString rawValue){
|
||||
int value = NodeStyle::NodeAlign.at(rawAlignSelf);
|
||||
YGNodeStyleSetAlignSelf(this->getFlexNode(),static_cast<YGAlign>(value));
|
||||
this->_yAlignSelf = rawValue;
|
||||
qDebug()<<"Value set alignSelf "<<rawValue;
|
||||
spdlog::info("set alignSelf: {}", rawAlignSelf);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: alignSelf: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -52,7 +52,7 @@ void YogaWidget::setYJustifyContent(QString rawValue){
|
||||
int value = NodeStyle::NodeJustifyContent.at(rawJustifyContent);
|
||||
YGNodeStyleSetJustifyContent(this->getFlexNode(),static_cast<YGJustify>(value));
|
||||
this->_yJustifyContent = rawValue;
|
||||
qDebug()<<"Value set justifyContent "<<rawValue;
|
||||
spdlog::info("set justifyContent: {}", rawJustifyContent);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: justifyContent: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -63,7 +63,7 @@ void YogaWidget::setYDirection(QString rawValue){
|
||||
int value = NodeStyle::NodeDirection.at(rawDirection);
|
||||
YGNodeStyleSetDirection(this->getFlexNode(),static_cast<YGDirection>(value));
|
||||
this->_yDirection = rawValue;
|
||||
qDebug()<<"Value set direction "<<rawValue;
|
||||
spdlog::info("set direction: {}", rawDirection);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: direction: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -74,7 +74,7 @@ void YogaWidget::setYFlexDirection(QString rawValue){
|
||||
int value = NodeStyle::NodeFlexDirection.at(rawFlexDirection);
|
||||
YGNodeStyleSetFlexDirection(this->getFlexNode(),static_cast<YGFlexDirection>(value));
|
||||
this->_yFlexDirection = rawValue;
|
||||
qDebug()<<"Value set flexDirection "<<rawValue;
|
||||
spdlog::info("set flexDirection: {}", rawFlexDirection);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: flexDirection: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -85,7 +85,7 @@ void YogaWidget::setYOverflow(QString rawValue){
|
||||
int value = NodeStyle::NodeOverflow.at(rawOverflow);
|
||||
YGNodeStyleSetOverflow(this->getFlexNode(),static_cast<YGOverflow>(value));
|
||||
this->_yOverflow = rawValue;
|
||||
qDebug()<<"Value set overflow "<<rawValue;
|
||||
spdlog::info("set overflow: {}", rawOverflow);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: overflow: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -96,7 +96,7 @@ void YogaWidget::setYPosition(QString rawValue){
|
||||
int value = NodeStyle::NodePosition.at(rawPosition);
|
||||
YGNodeStyleSetPositionType(this->getFlexNode(),static_cast<YGPositionType>(value));
|
||||
this->_yPosition = rawValue;
|
||||
qDebug()<<"Value set positionType "<<rawValue;
|
||||
spdlog::info("set positionType: {}", rawPosition);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: positionType: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -107,7 +107,7 @@ void YogaWidget::setYFlexWrap(QString rawValue){
|
||||
int value = NodeStyle::NodeWrap.at(rawFlexWrap);
|
||||
YGNodeStyleSetFlexWrap(this->getFlexNode(),static_cast<YGWrap>(value));
|
||||
this->_yFlexWrap = rawValue;
|
||||
qDebug()<<"Value set flexWrap "<<rawValue;
|
||||
spdlog::info("set flexWrap: {}", rawFlexWrap);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: flexWrap: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -116,7 +116,7 @@ void YogaWidget::setYFlex(float rawValue){
|
||||
try {
|
||||
YGNodeStyleSetFlex(this->getFlexNode(),rawValue);
|
||||
this->_yFlex = rawValue;
|
||||
qDebug()<<"Value set flex "<<rawValue;
|
||||
spdlog::info("set flex: {}", rawValue);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: flex: {}",rawValue);
|
||||
}
|
||||
@ -125,7 +125,7 @@ void YogaWidget::setYFlexGrow(float rawValue){
|
||||
try {
|
||||
YGNodeStyleSetFlexGrow(this->getFlexNode(),rawValue);
|
||||
this->_yFlexGrow = rawValue;
|
||||
qDebug()<<"Value set flexGrow "<<rawValue;
|
||||
spdlog::info("set flexGrow: {}", rawValue);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: flexGrow: {}",rawValue);
|
||||
}
|
||||
@ -134,7 +134,7 @@ void YogaWidget::setYFlexShrink(float rawValue){
|
||||
try {
|
||||
YGNodeStyleSetFlexShrink(this->getFlexNode(),rawValue);
|
||||
this->_yFlexShrink = rawValue;
|
||||
qDebug()<<"Value set flexShrink "<<rawValue;
|
||||
spdlog::info("set flexShrink: {}", rawValue);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: flexShrink: {}",rawValue);
|
||||
}
|
||||
@ -143,7 +143,7 @@ void YogaWidget::setYAspectRatio(float rawValue){
|
||||
try {
|
||||
YGNodeStyleSetAspectRatio(this->getFlexNode(),rawValue);
|
||||
this->_yAspectRatio = rawValue;
|
||||
qDebug()<<"Value set aspectRatio "<<rawValue;
|
||||
spdlog::info("set aspectRatio: {}", rawValue);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: aspectRatio: {}",rawValue);
|
||||
}
|
||||
@ -155,6 +155,7 @@ void YogaWidget::setYNodeTop(QString rawValue){
|
||||
? YGNodeStyleSetPositionPercent(this->getFlexNode(), YGEdgeTop,measurement.value)
|
||||
: YGNodeStyleSetPosition(this->getFlexNode(),YGEdgeTop,measurement.value);
|
||||
this->_yTop = rawValue;
|
||||
spdlog::info("set top: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: top: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -166,6 +167,7 @@ void YogaWidget::setYNodeRight(QString rawValue){
|
||||
? YGNodeStyleSetPositionPercent(this->getFlexNode(), YGEdgeRight,measurement.value)
|
||||
: YGNodeStyleSetPosition(this->getFlexNode(),YGEdgeRight,measurement.value);
|
||||
this->_yRight = rawValue;
|
||||
spdlog::info("set right: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: right: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -178,6 +180,7 @@ void YogaWidget::setYNodeBottom(QString rawValue){
|
||||
? YGNodeStyleSetPositionPercent(this->getFlexNode(), YGEdgeBottom,measurement.value)
|
||||
: YGNodeStyleSetPosition(this->getFlexNode(),YGEdgeBottom,measurement.value);
|
||||
this->_yBottom = rawValue;
|
||||
spdlog::info("set bottom: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: bottom: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -190,6 +193,7 @@ void YogaWidget::setYNodeLeft(QString rawValue){
|
||||
? YGNodeStyleSetPositionPercent(this->getFlexNode(), YGEdgeLeft,measurement.value)
|
||||
: YGNodeStyleSetPosition(this->getFlexNode(),YGEdgeLeft,measurement.value);
|
||||
this->_yLeft = rawValue;
|
||||
spdlog::info("set left: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: left: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -206,6 +210,7 @@ void YogaWidget::setYFlexBasis(QString rawValue){
|
||||
: YGNodeStyleSetFlexBasis(this->getFlexNode(),measurement.value);
|
||||
}
|
||||
this->_yFlexBasis = rawValue;
|
||||
spdlog::info("set flexBasis: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: flexBasis: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -218,6 +223,7 @@ void YogaWidget::setYMinWidth(QString rawValue){
|
||||
? YGNodeStyleSetMinWidthPercent(this->getFlexNode(), measurement.value)
|
||||
: YGNodeStyleSetMinWidth(this->getFlexNode(), measurement.value);
|
||||
this->_yMinWidth = rawValue;
|
||||
spdlog::info("set minWidth: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: minWidth: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -229,6 +235,7 @@ void YogaWidget::setYMinHeight(QString rawValue){
|
||||
? YGNodeStyleSetMinHeightPercent(this->getFlexNode(), measurement.value)
|
||||
: YGNodeStyleSetMinHeight(this->getFlexNode(), measurement.value);
|
||||
this->_yMinHeight = rawValue;
|
||||
spdlog::info("set minHeight: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: minHeight: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -240,6 +247,7 @@ void YogaWidget::setYMaxWidth(QString rawValue){
|
||||
? YGNodeStyleSetMaxWidthPercent(this->getFlexNode(), measurement.value)
|
||||
: YGNodeStyleSetMaxWidth(this->getFlexNode(), measurement.value);
|
||||
this->_yMaxWidth = rawValue;
|
||||
spdlog::info("set maxWidth: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: maxWidth: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -251,6 +259,7 @@ void YogaWidget::setYMaxHeight(QString rawValue){
|
||||
? YGNodeStyleSetMaxHeightPercent(this->getFlexNode(), measurement.value)
|
||||
: YGNodeStyleSetMaxHeight(this->getFlexNode(), measurement.value);
|
||||
this->_yMaxHeight = rawValue;
|
||||
spdlog::info("set maxHeight: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: maxHeight: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -262,6 +271,7 @@ void YogaWidget::setYPaddingTop(QString rawValue){
|
||||
? YGNodeStyleSetPaddingPercent(this->getFlexNode(),YGEdgeTop, measurement.value)
|
||||
: YGNodeStyleSetPadding(this->getFlexNode(),YGEdgeTop, measurement.value);
|
||||
this->_yPaddingTop = rawValue;
|
||||
spdlog::info("set paddingTop: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: paddingTop: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -273,6 +283,7 @@ void YogaWidget::setYPaddingRight(QString rawValue){
|
||||
? YGNodeStyleSetPaddingPercent(this->getFlexNode(),YGEdgeRight, measurement.value)
|
||||
: YGNodeStyleSetPadding(this->getFlexNode(),YGEdgeRight, measurement.value);
|
||||
this->_yPaddingRight = rawValue;
|
||||
spdlog::info("set paddingRight: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: paddingRight: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -284,6 +295,7 @@ void YogaWidget::setYPaddingBottom(QString rawValue){
|
||||
? YGNodeStyleSetPaddingPercent(this->getFlexNode(),YGEdgeBottom, measurement.value)
|
||||
: YGNodeStyleSetPadding(this->getFlexNode(),YGEdgeBottom, measurement.value);
|
||||
this->_yPaddingBottom = rawValue;
|
||||
spdlog::info("set paddingBottom: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: paddingBottom: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -295,6 +307,7 @@ void YogaWidget::setYPaddingLeft(QString rawValue){
|
||||
? YGNodeStyleSetPaddingPercent(this->getFlexNode(),YGEdgeLeft, measurement.value)
|
||||
: YGNodeStyleSetPadding(this->getFlexNode(), YGEdgeLeft, measurement.value);
|
||||
this->_yPaddingLeft = rawValue;
|
||||
spdlog::info("set paddingLeft: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: paddingLeft: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -306,6 +319,7 @@ void YogaWidget::setYPaddingHorizontal(QString rawValue){
|
||||
? YGNodeStyleSetPaddingPercent(this->getFlexNode(), YGEdgeHorizontal, measurement.value)
|
||||
: YGNodeStyleSetPadding(this->getFlexNode(),YGEdgeHorizontal, measurement.value);
|
||||
this->_yPaddingHorizontal = rawValue;
|
||||
spdlog::info("set paddingHorizontal: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: paddingHorizontal: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -317,6 +331,7 @@ void YogaWidget::setYPaddingVertical(QString rawValue){
|
||||
? YGNodeStyleSetPaddingPercent(this->getFlexNode(),YGEdgeVertical, measurement.value)
|
||||
: YGNodeStyleSetPadding(this->getFlexNode(),YGEdgeVertical, measurement.value);
|
||||
this->_yPaddingVertical = rawValue;
|
||||
spdlog::info("set paddingVertical: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: paddingVertical: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -328,6 +343,7 @@ void YogaWidget::setYPadding(QString rawValue){
|
||||
? YGNodeStyleSetPaddingPercent(this->getFlexNode(),YGEdgeAll, measurement.value)
|
||||
: YGNodeStyleSetPadding(this->getFlexNode(),YGEdgeAll, measurement.value);
|
||||
this->_yPadding = rawValue;
|
||||
spdlog::info("set padding: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: padding: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -339,6 +355,7 @@ void YogaWidget::setYMarginTop(QString rawValue){
|
||||
? YGNodeStyleSetMarginPercent(this->getFlexNode(),YGEdgeTop, measurement.value)
|
||||
: YGNodeStyleSetMargin(this->getFlexNode(),YGEdgeTop, measurement.value);
|
||||
this->_yMarginTop = rawValue;
|
||||
spdlog::info("set marginTop: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: marginTop: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -350,6 +367,7 @@ void YogaWidget::setYMarginRight(QString rawValue){
|
||||
? YGNodeStyleSetMarginPercent(this->getFlexNode(),YGEdgeRight, measurement.value)
|
||||
: YGNodeStyleSetMargin(this->getFlexNode(),YGEdgeRight, measurement.value);
|
||||
this->_yMarginRight = rawValue;
|
||||
spdlog::info("set marginRight: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: marginRight: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -361,6 +379,7 @@ void YogaWidget::setYMarginBottom(QString rawValue){
|
||||
? YGNodeStyleSetMarginPercent(this->getFlexNode(),YGEdgeBottom, measurement.value)
|
||||
: YGNodeStyleSetMargin(this->getFlexNode(),YGEdgeBottom, measurement.value);
|
||||
this->_yMarginBottom = rawValue;
|
||||
spdlog::info("set marginBottom: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: marginBottom: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -372,6 +391,7 @@ void YogaWidget::setYMarginLeft(QString rawValue){
|
||||
? YGNodeStyleSetMarginPercent(this->getFlexNode(),YGEdgeLeft, measurement.value)
|
||||
: YGNodeStyleSetMargin(this->getFlexNode(), YGEdgeLeft, measurement.value);
|
||||
this->_yMarginLeft = rawValue;
|
||||
spdlog::info("set marginLeft: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: marginLeft: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -383,6 +403,7 @@ void YogaWidget::setYMarginHorizontal(QString rawValue){
|
||||
? YGNodeStyleSetMarginPercent(this->getFlexNode(), YGEdgeHorizontal, measurement.value)
|
||||
: YGNodeStyleSetMargin(this->getFlexNode(),YGEdgeHorizontal, measurement.value);
|
||||
this->_yMarginHorizontal = rawValue;
|
||||
spdlog::info("set marginHorizontal: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: marginHorizontal: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -394,6 +415,7 @@ void YogaWidget::setYMarginVertical(QString rawValue){
|
||||
? YGNodeStyleSetMarginPercent(this->getFlexNode(),YGEdgeVertical, measurement.value)
|
||||
: YGNodeStyleSetMargin(this->getFlexNode(),YGEdgeVertical, measurement.value);
|
||||
this->_yMarginVertical = rawValue;
|
||||
spdlog::info("set marginVertical: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: marginVertical: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -405,6 +427,7 @@ void YogaWidget::setYMarginAll(QString rawValue){
|
||||
? YGNodeStyleSetMarginPercent(this->getFlexNode(),YGEdgeAll, measurement.value)
|
||||
: YGNodeStyleSetMargin(this->getFlexNode(),YGEdgeAll, measurement.value);
|
||||
this->_yMargin = rawValue;
|
||||
spdlog::info("set margin: {}", rawValue.toStdString());
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: margin: {}",rawValue.toStdString());
|
||||
}
|
||||
@ -414,6 +437,7 @@ void YogaWidget::setYBorderTop(float rawValue){
|
||||
try {
|
||||
YGNodeStyleSetBorder(this->getFlexNode(),YGEdgeTop, rawValue);
|
||||
this->_yBorderTop = rawValue;
|
||||
spdlog::info("set borderTop: {}", rawValue);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: borderTop: {}",rawValue);
|
||||
}
|
||||
@ -422,6 +446,7 @@ void YogaWidget::setYBorderRight(float rawValue){
|
||||
try {
|
||||
YGNodeStyleSetBorder(this->getFlexNode(),YGEdgeRight, rawValue);
|
||||
this->_yBorderRight = rawValue;
|
||||
spdlog::info("set borderRight: {}", rawValue);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: borderRight: {}",rawValue);
|
||||
}
|
||||
@ -430,6 +455,7 @@ void YogaWidget::setYBorderBottom(float rawValue){
|
||||
try {
|
||||
YGNodeStyleSetBorder(this->getFlexNode(),YGEdgeBottom, rawValue);
|
||||
this->_yBorderBottom = rawValue;
|
||||
spdlog::info("set borderBottom: {}", rawValue);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: borderBottom: {}",rawValue);
|
||||
}
|
||||
@ -438,6 +464,7 @@ void YogaWidget::setYBorderLeft(float rawValue){
|
||||
try {
|
||||
YGNodeStyleSetBorder(this->getFlexNode(), YGEdgeLeft, rawValue);
|
||||
this->_yBorderLeft = rawValue;
|
||||
spdlog::info("set borderLeft: {}", rawValue);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: borderLeft: {}",rawValue);
|
||||
}
|
||||
@ -446,6 +473,7 @@ void YogaWidget::setYBorderHorizontal(float rawValue){
|
||||
try {
|
||||
YGNodeStyleSetBorder(this->getFlexNode(),YGEdgeHorizontal, rawValue);
|
||||
this->_yBorderHorizontal = rawValue;
|
||||
spdlog::info("set borderHorizontal: {}", rawValue);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: borderHorizontal: {}",rawValue);
|
||||
}
|
||||
@ -454,6 +482,7 @@ void YogaWidget::setYBorderVertical(float rawValue){
|
||||
try {
|
||||
YGNodeStyleSetBorder(this->getFlexNode(),YGEdgeVertical, rawValue);
|
||||
this->_yBorderVertical = rawValue;
|
||||
spdlog::info("set borderVertical: {}", rawValue);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: borderVertical: {}",rawValue);
|
||||
}
|
||||
@ -463,6 +492,7 @@ void YogaWidget::setYBorder(float rawValue){
|
||||
try {
|
||||
YGNodeStyleSetBorder(this->getFlexNode(), YGEdgeAll, rawValue);
|
||||
this->_yBorder = rawValue;
|
||||
spdlog::info("set border: {}", rawValue);
|
||||
}catch(...){
|
||||
spdlog::warn("Invalid value: border: {}",rawValue);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user