BoxPopup: more reliable implicitWidth (margins)
This commit is contained in:
		@@ -27,7 +27,8 @@ HPopup {
 | 
				
			|||||||
        id: box
 | 
					        id: box
 | 
				
			||||||
        clickButtonOnEnter: "ok"
 | 
					        clickButtonOnEnter: "ok"
 | 
				
			||||||
        implicitWidth: Math.min(
 | 
					        implicitWidth: Math.min(
 | 
				
			||||||
            window.width - popup.margins, theme.controls.popup.defaultWidth,
 | 
					            window.width - popup.leftMargin - popup.rightMargin,
 | 
				
			||||||
 | 
					            theme.controls.popup.defaultWidth,
 | 
				
			||||||
        )
 | 
					        )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        buttonModel: [
 | 
					        buttonModel: [
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user