mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Emoji status selector in MainMenu/Settings.
This commit is contained in:
@@ -227,7 +227,11 @@ void TabbedPanel::paintEvent(QPaintEvent *e) {
|
||||
}
|
||||
|
||||
void TabbedPanel::moveHorizontally() {
|
||||
const auto right = std::max(parentWidget()->width() - _right, 0);
|
||||
const auto padding = innerPadding();
|
||||
const auto width = innerRect().width() + padding.left() + padding.right();
|
||||
const auto right = std::max(
|
||||
parentWidget()->width() - std::max(_right, width),
|
||||
0);
|
||||
moveToRight(right, y());
|
||||
updateContentHeight();
|
||||
}
|
||||
|
Reference in New Issue
Block a user