Fix invisible room categories still taking space
This commit is contained in:
parent
d6714141e0
commit
25bb082f5a
2
TODO.md
2
TODO.md
@ -9,8 +9,6 @@
|
|||||||
- Icons and images aren't reloaded
|
- Icons and images aren't reloaded
|
||||||
- HStyle singleton isn't reloaded
|
- HStyle singleton isn't reloaded
|
||||||
- `MessageDelegate.qml:63: TypeError: 'reloadPreviousItem' not a function`
|
- `MessageDelegate.qml:63: TypeError: 'reloadPreviousItem' not a function`
|
||||||
- Bug when resizing window being tiled (i3), can't figure it out
|
|
||||||
- Can scroll the SidePane rooms too far
|
|
||||||
|
|
||||||
- UI
|
- UI
|
||||||
- Improve SidePane appearance when at min width
|
- Improve SidePane appearance when at min width
|
||||||
|
@ -155,7 +155,6 @@ class ListModel(QAbstractListModel):
|
|||||||
|
|
||||||
raise ValueError(f"No item in model data with "
|
raise ValueError(f"No item in model data with "
|
||||||
f"property {prop!r} set to {is_value!r}.")
|
f"property {prop!r} set to {is_value!r}.")
|
||||||
from PyQt5.QtCore import pyqtRemoveInputHook as PRI; import pdb; PRI(); pdb.set_trace()
|
|
||||||
|
|
||||||
|
|
||||||
@pyqtSlot(int, result="QVariant")
|
@pyqtSlot(int, result="QVariant")
|
||||||
|
@ -5,8 +5,8 @@ import "../Base"
|
|||||||
Column {
|
Column {
|
||||||
id: roomCategoryDelegate
|
id: roomCategoryDelegate
|
||||||
width: roomCategoriesList.width
|
width: roomCategoriesList.width
|
||||||
height: childrenRect.height
|
height: roomList.model.rowCount() > 0 ? childrenRect.height : 0
|
||||||
visible: roomList.contentHeight > 0
|
visible: roomList.model.rowCount() > 0
|
||||||
|
|
||||||
property string roomListUserId: userId
|
property string roomListUserId: userId
|
||||||
property bool expanded: true
|
property bool expanded: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user