fix code style
This commit is contained in:
@@ -17,4 +17,3 @@ struct Layout {
|
|||||||
double width;
|
double width;
|
||||||
double height;
|
double height;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -242,7 +242,7 @@ int Node::getPositionType(void) const {
|
|||||||
|
|
||||||
Value Node::getPosition(int edge) const {
|
Value Node::getPosition(int edge) const {
|
||||||
return Value::fromYGValue(
|
return Value::fromYGValue(
|
||||||
YGNodeStyleGetPosition(m_node, static_cast<YGEdge>(edge)));
|
YGNodeStyleGetPosition(m_node, static_cast<YGEdge>(edge)));
|
||||||
}
|
}
|
||||||
|
|
||||||
int Node::getAlignContent(void) const {
|
int Node::getAlignContent(void) const {
|
||||||
@@ -271,7 +271,7 @@ int Node::getJustifyContent(void) const {
|
|||||||
|
|
||||||
Value Node::getMargin(int edge) const {
|
Value Node::getMargin(int edge) const {
|
||||||
return Value::fromYGValue(
|
return Value::fromYGValue(
|
||||||
YGNodeStyleGetMargin(m_node, static_cast<YGEdge>(edge)));
|
YGNodeStyleGetMargin(m_node, static_cast<YGEdge>(edge)));
|
||||||
}
|
}
|
||||||
|
|
||||||
int Node::getOverflow(void) const {
|
int Node::getOverflow(void) const {
|
||||||
@@ -328,7 +328,7 @@ double Node::getBorder(int edge) const {
|
|||||||
|
|
||||||
Value Node::getPadding(int edge) const {
|
Value Node::getPadding(int edge) const {
|
||||||
return Value::fromYGValue(
|
return Value::fromYGValue(
|
||||||
YGNodeStyleGetPadding(m_node, static_cast<YGEdge>(edge)));
|
YGNodeStyleGetPadding(m_node, static_cast<YGEdge>(edge)));
|
||||||
}
|
}
|
||||||
|
|
||||||
float Node::getGap(int gutter) {
|
float Node::getGap(int gutter) {
|
||||||
|
@@ -157,7 +157,7 @@ public: // Style getters
|
|||||||
double getBorder(int edge) const;
|
double getBorder(int edge) const;
|
||||||
|
|
||||||
Value getPadding(int edge) const;
|
Value getPadding(int edge) const;
|
||||||
|
|
||||||
float getGap(int gutter);
|
float getGap(int gutter);
|
||||||
|
|
||||||
public: // Tree hierarchy mutators
|
public: // Tree hierarchy mutators
|
||||||
|
Reference in New Issue
Block a user