Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

Commit

Permalink
Use alignment instead of stretch
Browse files Browse the repository at this point in the history
  • Loading branch information
mujx committed Oct 7, 2018
1 parent aa486a5 commit f272d92
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
- Don't enable tray by default.
- Hard-coded pixel values were removed. The sizes are derived from the font.

### Removed
- Remove room re-ordering option.
- Built-in emoji picker & emoji font.
### Other changes
- Removed room re-ordering option.
- Removed built-in emoji picker.
- Removed bundled fonts.

## [0.6.1] - 2018-09-26

Expand Down
2 changes: 1 addition & 1 deletion src/CommunitiesList.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "Cache.h"
#include "CommunitiesList.h"
#include "Cache.h"
#include "Logging.h"
#include "MatrixClient.h"
#include "Utils.h"
Expand Down
2 changes: 1 addition & 1 deletion src/RoomList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ RoomList::RoomList(QWidget *parent)
scrollAreaContents_->setObjectName("roomlist_area");

contentsLayout_ = new QVBoxLayout(scrollAreaContents_);
contentsLayout_->setAlignment(Qt::AlignTop);
contentsLayout_->setSpacing(0);
contentsLayout_->setMargin(0);
contentsLayout_->addStretch(1);

scrollArea_->setWidget(scrollAreaContents_);
topLayout_->addWidget(scrollArea_);
Expand Down
2 changes: 1 addition & 1 deletion src/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ struct SideBarSizes
int small;
int normal;
int groups;
int collapsePoint;
int collapsePoint;
};

SideBarSizes
Expand Down

0 comments on commit f272d92

Please sign in to comment.