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:
parent
07701ae880
commit
96e61f15ce
2
TODO.md
2
TODO.md
|
@ -4,7 +4,7 @@
|
||||||
- highlight messages with mention
|
- highlight messages with mention
|
||||||
- add room members loading indicator
|
- 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 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,
|
- 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
|
it won't be visible in timeline no matter what the user config is
|
||||||
|
|
|
@ -234,7 +234,7 @@ class UISettings(JSONDataFile):
|
||||||
"clearRoomFilterOnEnter": True,
|
"clearRoomFilterOnEnter": True,
|
||||||
"clearRoomFilterOnEscape": True,
|
"clearRoomFilterOnEscape": True,
|
||||||
"clearMemberFilterOnEscape": True,
|
"clearMemberFilterOnEscape": True,
|
||||||
"collapseSidePanesUnderWindowWidth": 400,
|
"collapseSidePanesUnderWindowWidth": 450,
|
||||||
"enableKineticScrolling": True,
|
"enableKineticScrolling": True,
|
||||||
"hideProfileChangeEvents": True,
|
"hideProfileChangeEvents": True,
|
||||||
"hideMembershipEvents": False,
|
"hideMembershipEvents": False,
|
||||||
|
|
|
@ -54,7 +54,7 @@ HDrawer {
|
||||||
`Javascript debugging console
|
`Javascript debugging console
|
||||||
|
|
||||||
Useful variables:
|
Useful variables:
|
||||||
window, theme, settings, utils, mainUI, pageLoader
|
window, theme, settings, utils, mainPane, mainUI, pageLoader
|
||||||
py Python interpreter
|
py Python interpreter
|
||||||
this The console itself
|
this The console itself
|
||||||
t Target item to debug for which this console was opened
|
t Target item to debug for which this console was opened
|
||||||
|
|
|
@ -8,7 +8,7 @@ HDrawer {
|
||||||
id: mainPane
|
id: mainPane
|
||||||
saveName: "mainPane"
|
saveName: "mainPane"
|
||||||
background: Rectangle { color: theme.mainPane.background }
|
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 accountBar: accountBar
|
||||||
readonly property alias roomList: roomList
|
readonly property alias roomList: roomList
|
||||||
|
|
|
@ -260,6 +260,7 @@ ui:
|
||||||
|
|
||||||
|
|
||||||
mainPane:
|
mainPane:
|
||||||
|
int minimumSize: 144 * uiScale
|
||||||
color background: "transparent"
|
color background: "transparent"
|
||||||
|
|
||||||
topBar:
|
topBar:
|
||||||
|
|
|
@ -273,6 +273,7 @@ ui:
|
||||||
|
|
||||||
|
|
||||||
mainPane:
|
mainPane:
|
||||||
|
int minimumSize: 144 * uiScale
|
||||||
color background: "transparent"
|
color background: "transparent"
|
||||||
|
|
||||||
topBar:
|
topBar:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user