mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Use alignment instead of stretch
This commit is contained in:
parent
aa486a5c0c
commit
f272d9221e
4 changed files with 7 additions and 6 deletions
|
@ -12,9 +12,10 @@
|
||||||
- Don't enable tray by default.
|
- Don't enable tray by default.
|
||||||
- Hard-coded pixel values were removed. The sizes are derived from the font.
|
- Hard-coded pixel values were removed. The sizes are derived from the font.
|
||||||
|
|
||||||
### Removed
|
### Other changes
|
||||||
- Remove room re-ordering option.
|
- Removed room re-ordering option.
|
||||||
- Built-in emoji picker & emoji font.
|
- Removed built-in emoji picker.
|
||||||
|
- Removed bundled fonts.
|
||||||
|
|
||||||
## [0.6.1] - 2018-09-26
|
## [0.6.1] - 2018-09-26
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "Cache.h"
|
|
||||||
#include "CommunitiesList.h"
|
#include "CommunitiesList.h"
|
||||||
|
#include "Cache.h"
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
#include "MatrixClient.h"
|
#include "MatrixClient.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
|
|
|
@ -53,9 +53,9 @@ RoomList::RoomList(QWidget *parent)
|
||||||
scrollAreaContents_->setObjectName("roomlist_area");
|
scrollAreaContents_->setObjectName("roomlist_area");
|
||||||
|
|
||||||
contentsLayout_ = new QVBoxLayout(scrollAreaContents_);
|
contentsLayout_ = new QVBoxLayout(scrollAreaContents_);
|
||||||
|
contentsLayout_->setAlignment(Qt::AlignTop);
|
||||||
contentsLayout_->setSpacing(0);
|
contentsLayout_->setSpacing(0);
|
||||||
contentsLayout_->setMargin(0);
|
contentsLayout_->setMargin(0);
|
||||||
contentsLayout_->addStretch(1);
|
|
||||||
|
|
||||||
scrollArea_->setWidget(scrollAreaContents_);
|
scrollArea_->setWidget(scrollAreaContents_);
|
||||||
topLayout_->addWidget(scrollArea_);
|
topLayout_->addWidget(scrollArea_);
|
||||||
|
|
Loading…
Reference in a new issue