- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:36 AM
Hi ,
I have create one Dialog Window. But it is not fit in the center of the screen.
The Code I have written:
Kindly pour your suggestions to set this dialog window on center of the screen.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:53 AM - edited 10-09-2023 03:54 AM
Hello @Linga Suvetha1,
Can you try to add this line of code:
gwd.center(); // Center the dialog window on the screen

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:39 AM
Hi @Linga Suvetha1,
There is no method to center a GlideDialog window.
You could try GlideModal instead of GlideDialog window.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:53 AM - edited 10-09-2023 03:54 AM
Hello @Linga Suvetha1,
Can you try to add this line of code:
gwd.center(); // Center the dialog window on the screen

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 03:56 AM
Hi @Alex Tod1,
Where did you find that method?
Apart from GlideDialogWindow being deprecated anyhow, the center method is not listed.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2023 05:57 AM
It works, Thank you 🙂