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:
@@ -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 {
|
||||
|
@@ -135,7 +135,6 @@ Checkbox {
|
||||
textFg: color;
|
||||
|
||||
width: pixels;
|
||||
height: pixels;
|
||||
margin: margins;
|
||||
|
||||
textPosition: point;
|
||||
|
Reference in New Issue
Block a user