qml: adapt exception dialog to edge-to-edge layout
Even though the exception dialog inherits from ElDialog the padding didn't work as it overwrites the properties of the ElDialog. So the padding has to be applied separately to the ExceptionDialog.
This commit is contained in:
@@ -18,10 +18,14 @@ ElDialog
|
||||
width: parent.width
|
||||
height: parent.height
|
||||
z: 1000 // assure topmost of all other dialogs. note: child popups need even higher!
|
||||
// disable padding in ElDialog as it is overwritten here and shows no effect, this dialog needs padding though
|
||||
needsSystemBarPadding: false
|
||||
|
||||
header: null
|
||||
|
||||
ColumnLayout {
|
||||
anchors.topMargin: app.statusBarHeight // edge-to-edge layout padding
|
||||
anchors.bottomMargin: app.navigationBarHeight
|
||||
anchors.fill: parent
|
||||
enabled: !_sending
|
||||
|
||||
|
||||
Reference in New Issue
Block a user