![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 3 of 3 total |
![]() |
Fri, Jun 29 2012 11:30 AM | Permanent Link |
Robert Devine | Hi Tim
I create my dialogs at runtime and dynamically layout the controls. A typical dialog has a MainPanel and a FooterPanel with the OK/Cancel buttons. I've been using code like this: self.ClientHeight := MainPanel.Height + FFooterPanelHeight; self.ClientWidth := MainPanel.Width; MainPanel.Top := 0; MainPanel.Left := 0; This has previously positioned the main panel beneath the caption bar in the client area, but it now positions it at the top left of the caption bar (and hence covering it). Is this the new behaviour or a bug? Also, the text on the OK/Cancel buttons is aligned to the top of the button at runtime, rather than centred as seen at design time. Cheers, Bob |
Sat, Jun 30 2012 8:04 AM | Permanent Link |
Robert Devine | Hi Tim
The problem is only apparent when run from an external web server (using either Chrome or IE9). Everything works fine when run from the IDE. Cheers, Bob On 29/06/2012 16:30, Bob Devine wrote: > Hi Tim > > I create my dialogs at runtime and dynamically layout the controls. A > typical dialog has a MainPanel and a FooterPanel with the OK/Cancel > buttons. I've been using code like this: > > self.ClientHeight := MainPanel.Height + FFooterPanelHeight; > self.ClientWidth := MainPanel.Width; > MainPanel.Top := 0; > MainPanel.Left := 0; > > This has previously positioned the main panel beneath the caption bar in > the client area, but it now positions it at the top left of the caption > bar (and hence covering it). Is this the new behaviour or a bug? > > Also, the text on the OK/Cancel buttons is aligned to the top of the > button at runtime, rather than centred as seen at design time. > > Cheers, Bob |
Mon, Jul 2 2012 2:42 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Bob,
<< This has previously positioned the main panel beneath the caption bar in the client area, but it now positions it at the top left of the caption bar (and hence covering it). Is this the new behaviour or a bug? Also, the text on the OK/Cancel buttons is aligned to the top of the button at runtime, rather than centred as seen at design time. >> Can you send me your project so that I can try it here ? There's been a lot of changes to the width/height handling to minimize redraws/layout changes in the browser, so that probably is when it was broken. Thanks, Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Sunday, April 27, 2025 at 01:25 AM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |