Set a more useful minimum size for main pane

144px min for a pane that's still useful.
Also set `collapseSidePanesUnderWindowWidth` config option to `450`
instead of `400` by default now.
This commit is contained in:
miruka 2020-05-21 00:42:23 -04:00
parent 07701ae880
commit 96e61f15ce
6 changed files with 6 additions and 4 deletions

View File

@ -4,7 +4,7 @@
- highlight messages with mention
- add room members loading indicator
- fix main pane appearance when collapsed
- fix media_mime
- fix lag when clicking accounts in the AccountBar with a very long room list
- fix: on startup, if a room's last event is a membership change,
it won't be visible in timeline no matter what the user config is

View File

@ -234,7 +234,7 @@ class UISettings(JSONDataFile):
"clearRoomFilterOnEnter": True,
"clearRoomFilterOnEscape": True,
"clearMemberFilterOnEscape": True,
"collapseSidePanesUnderWindowWidth": 400,
"collapseSidePanesUnderWindowWidth": 450,
"enableKineticScrolling": True,
"hideProfileChangeEvents": True,
"hideMembershipEvents": False,

View File

@ -54,7 +54,7 @@ HDrawer {
`Javascript debugging console
Useful variables:
window, theme, settings, utils, mainUI, pageLoader
window, theme, settings, utils, mainPane, mainUI, pageLoader
py Python interpreter
this The console itself
t Target item to debug for which this console was opened

View File

@ -8,7 +8,7 @@ HDrawer {
id: mainPane
saveName: "mainPane"
background: Rectangle { color: theme.mainPane.background }
minimumSize: theme.controls.avatar.size + theme.spacing * 2
minimumSize: theme.mainPane.minimumSize
readonly property alias accountBar: accountBar
readonly property alias roomList: roomList

View File

@ -260,6 +260,7 @@ ui:
mainPane:
int minimumSize: 144 * uiScale
color background: "transparent"
topBar:

View File

@ -273,6 +273,7 @@ ui:
mainPane:
int minimumSize: 144 * uiScale
color background: "transparent"
topBar: