File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -1245,7 +1245,10 @@ void MainWindow::showReleaseNotes(duint cutoffEpoch)
1245
1245
}
1246
1246
1247
1247
ReleaseNotesDialog dialog ({}, this );
1248
- dialog.move (frameGeometry ().center () - dialog.rect ().center ());
1248
+ auto titleBarHeight = frameGeometry ().height () - geometry ().height ();
1249
+ auto position = frameGeometry ().center () - dialog.frameGeometry ().center ();
1250
+ position.setY (position.y () - titleBarHeight / 2 );
1251
+ dialog.move (position);
1249
1252
dialog.setMarkdown (markdown, " https://github.com/x64dbg/x64dbg/issues/" );
1250
1253
dialog.setWindowIcon (DIcon (" bug" ));
1251
1254
dialog.exec ();
Original file line number Diff line number Diff line change 6
6
<rect >
7
7
<x >0</x >
8
8
<y >0</y >
9
- <width >867 </width >
9
+ <width >790 </width >
10
10
<height >560</height >
11
11
</rect >
12
12
</property >
You can’t perform that action at this time.
0 commit comments