I’ve inherited an app - utilizing GoDiagram. They are setting screen size based on the screen resolution - OK for full screen - not so well for users who resize their screen.
Is there a quick easy fix that will be based on current window size? Longer term I’ll have to deal with this plus the ability to re-size (which I’m, sure is in the documentation that I’m starting to read!!)
'set the height and width based on user resolution intHeight = CType(context.Items.Item(Common.WebKeys.GO_VIEW_HEIGHT), Integer) intWidth = CType(context.Items.Item(Common.WebKeys.GO_VIEW_WIDTH), Integer) Select Case intHeight Case 600 IconicView.Height = Unit.Pixel(400) LegendView.Height = Unit.Pixel(400) Case 768 IconicView.Height = Unit.Pixel(392) LegendView.Height = Unit.Pixel(392) End Select Select Case intWidth Case 800 IconicView.Width = Unit.Pixel(550) Case 1024 IconicView.Width = Unit.Pixel(680) End Select