Use layout margin instead of Item after Daybreak
This commit is contained in:
		
							
								
								
									
										2
									
								
								TODO.md
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								TODO.md
									
									
									
									
									
								
							@@ -1,5 +1,7 @@
 | 
				
			|||||||
# TODO
 | 
					# TODO
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Avatar tooltip can get displayed in front of presence menu
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- global presence control
 | 
					- global presence control
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- fix members not synced bug
 | 
					- fix members not synced bug
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -94,8 +94,8 @@ HColumnLayout {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    Item {
 | 
					    Item {
 | 
				
			||||||
        Layout.fillWidth: true
 | 
					        Layout.fillWidth: true
 | 
				
			||||||
        Layout.preferredHeight:
 | 
					        visible: model.event_type !== "RoomCreateEvent"
 | 
				
			||||||
            model.event_type === "RoomCreateEvent" ? 0 : separationSpacing
 | 
					        Layout.preferredHeight: separationSpacing
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Daybreak {
 | 
					    Daybreak {
 | 
				
			||||||
@@ -103,13 +103,7 @@ HColumnLayout {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        Layout.fillWidth: true
 | 
					        Layout.fillWidth: true
 | 
				
			||||||
        Layout.minimumWidth: parent.width
 | 
					        Layout.minimumWidth: parent.width
 | 
				
			||||||
    }
 | 
					        Layout.bottomMargin: separationSpacing
 | 
				
			||||||
 | 
					 | 
				
			||||||
    Item {
 | 
					 | 
				
			||||||
        visible: dayBreak
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        Layout.fillWidth: true
 | 
					 | 
				
			||||||
        Layout.preferredHeight: separationSpacing
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    EventContent {
 | 
					    EventContent {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user