mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Most of the new Settings sections filled with widgets.
Some animations added: new scale slider, widget_slide_wrap<TWidget>. Any TWidget now can resizeToWidth() with overriden resizeGetHeight().
This commit is contained in:
@@ -35,8 +35,8 @@ FixedBar::FixedBar(QWidget *parent) : TWidget(parent)
|
||||
});
|
||||
}
|
||||
|
||||
void FixedBar::resizeToWidth(int newWidth) {
|
||||
resize(newWidth, st::settingsFixedBarHeight);
|
||||
int FixedBar::resizeGetHeight(int newWidth) {
|
||||
return st::settingsFixedBarHeight;
|
||||
}
|
||||
|
||||
void FixedBar::resizeEvent(QResizeEvent *e) {
|
||||
|
Reference in New Issue
Block a user