- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2016 02:39 AM
I'm trying to make rendering process smoother by seeting up specific size of a window and remove all extra logic.
While there is setSize(). setWidth() and setHeight() methods available for GlideDialog Window - I'm looking to set height for GlideDialogForm and can not find one that works.
setSize() only sets width and ignores height; setHeight() doesn't do at all for GlideDialogForm
is it posible to set specific height to GlideDialogForm at all?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2016 04:06 AM
Hi Andrii,
For GlideDialogForm here are the methods that set the size:
setDialogSize: function(w, h) {
this.setDialogWidth(w);
this.setDialogHeight(h);
},
setDialogWidth: function(w) {
this.dialogWidth = w;
},
setDialogHeight: function(h) {
this.dialogHeight = h;
},
Hope this helps.
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2016 04:06 AM
Hi Andrii,
For GlideDialogForm here are the methods that set the size:
setDialogSize: function(w, h) {
this.setDialogWidth(w);
this.setDialogHeight(h);
},
setDialogWidth: function(w) {
this.dialogWidth = w;
},
setDialogHeight: function(h) {
this.dialogHeight = h;
},
Hope this helps.
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2016 10:56 AM
Thank you - it now works.
P.S. I wonder where did you get this information from? Are you able to read hidden Classes?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2016 12:15 AM
Yes, I have access to the source code as I am an employee of ServiceNow.
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2016 08:59 AM
Hi - is there a ways to set the position of the glidedialogform on the screen ?