- Rajesh Kanna
- PowerBuilder
- Monday, 19 August 2024 12:05 PM UTC
Hi Team,
Kindly help me to resolve the below challenge.
Assume - UI screen is opened state.
When change the scale value percentage (150 to 125% or any) in display setting, window is getting resized and it has some empty space at right side of the window. In such case, if we widen the window, contents are not scaling properly.
I'm using n_resizeattrib, n_resize_service, n_dwresizeattrib and n_dwresize_service.
Below script added in window's open event:
//register objects to be resized
//inv_resize.of_register(tab_1, inv_resize.scaleright)
inv_resize.of_register(tab_1, inv_resize.scalerightbottom)
//inv_resize.of_register(tab_1.tabpage_1, inv_resize.scaleright)
inv_resize.of_register(tab_1.tabpage_1, inv_resize.scalerightbottom)
inv_resize.of_register(tab_1.tabpage_1.ddlb_status, inv_resize.scaleright)
//inv_resize.of_register(tab_1.tabpage_1.dw_select, inv_resize.scaleright)
inv_resize.of_register(tab_1.tabpage_1.dw_select, inv_resize.scalerightbottom)
inv_resize.of_register(tab_1.tabpage_2, inv_resize.scaleright)
inv_resize.of_register(tab_1.tabpage_2.dw_header, inv_resize.scaleright)
inv_resize.of_register(tab_1.tabpage_2.tab_2, inv_resize.scaleright)
inv_resize.of_register(tab_1.tabpage_2.tab_2.tabpage_audit, inv_resize.scaleright)
inv_resize.of_register(tab_1.tabpage_2.tab_2.tabpage_audit.dw_audit, inv_resize.scaleright)
inv_resize.of_register(tab_1.tabpage_2.tab_2.tabpage_detail, inv_resize.scaleright)
inv_resize.of_register(tab_1.tabpage_2.tab_2.tabpage_detail.dw_detail, inv_resize.scaleright)
inv_resize.of_register(tab_1.tabpage_2.tab_2.tabpage_document, inv_resize.scaleright)
inv_resize.of_register(tab_1.tabpage_2.tab_2.tabpage_document.r_1, inv_resize.scaleright)
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.