2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Auto update and codes ("loadlang" etc) supported in the new Settings.

This commit is contained in:
John Preston
2016-08-27 11:52:05 -06:00
parent fdab386178
commit afab21372b
12 changed files with 318 additions and 17 deletions

View File

@@ -118,7 +118,8 @@ public:
}
int naturalWidth() const override {
return _padding.top() + _entity->naturalWidth() + _padding.bottom();
auto inner = _entity->naturalWidth();
return (inner < 0) ? inner : (_padding.left() + inner + _padding.right());
}
protected: