removed the chrome style tabs
This commit is contained in:
@@ -117,7 +117,7 @@ void MessageLayout::actuallyLayout(int width, MessageElement::Flags flags)
|
||||
this->deleteBuffer();
|
||||
}
|
||||
|
||||
this->container.finish();
|
||||
this->container.end();
|
||||
this->height = this->container.getHeight();
|
||||
}
|
||||
|
||||
|
||||
@@ -142,7 +142,7 @@ void MessageLayoutContainer::breakLine()
|
||||
}
|
||||
|
||||
this->lineStart = this->elements.size();
|
||||
this->currentX = 0;
|
||||
this->currentX = (int)(this->scale * 8);
|
||||
this->currentY += this->lineHeight;
|
||||
this->height = this->currentY + (this->margin.bottom * this->scale);
|
||||
this->lineHeight = 0;
|
||||
@@ -158,7 +158,7 @@ bool MessageLayoutContainer::fitsInLine(int _width)
|
||||
return this->currentX + _width <= this->width - this->margin.left - this->margin.right;
|
||||
}
|
||||
|
||||
void MessageLayoutContainer::finish()
|
||||
void MessageLayoutContainer::end()
|
||||
{
|
||||
if (!this->atStartOfLine()) {
|
||||
this->breakLine();
|
||||
|
||||
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
// methods
|
||||
void begin(int width, float scale, Message::MessageFlags flags);
|
||||
void finish();
|
||||
void end();
|
||||
|
||||
void clear();
|
||||
void addElement(MessageLayoutElement *element);
|
||||
|
||||
Reference in New Issue
Block a user