2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Fix auto media download settings box layout.

This commit is contained in:
John Preston
2017-07-12 16:53:42 +03:00
parent c79561e97f
commit f5a405e6f1
4 changed files with 3 additions and 4 deletions

View File

@@ -397,7 +397,7 @@ void Checkbox::onStateChanged(State was, StateChangeSource source) {
}
int Checkbox::resizeGetHeight(int newWidth) {
return _st.height ? _st.height : _check->getSize().height();
return _check->getSize().height();
}
QImage Checkbox::prepareRippleMask() const {

View File

@@ -135,7 +135,6 @@ Checkbox {
textFg: color;
width: pixels;
height: pixels;
margin: margins;
textPosition: point;