Watch, Follow, &
Connect with Us
Public Report
Report From: C#Builder/IDE/Form Designer    [ Add a report in this area ]  
Report #:  29644   Status: Closed
winform changes size when application is being executed
Project:  C#Builder Build #:  10.0.2288.42451
Version:    10.0 Submitted By:   Holger Flick
Report Type:  Basic functionality failure Date Reported:  5/30/2006 9:58:25 AM
Severity:    Serious / Highly visible problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   240293
Resolution: Cannot Reproduce (Resolution Comments) Resolved in Build: : 11.0.2487.23443
Duplicate of:  None
Voting and Rating
Overall Rating: (1 Total Rating)
1.00 out of 5
Total Votes: None
Description
size of a winform is different in design mode and during runtime. Simply running the application does suffice to make this problem "appear".
Steps to Reproduce:
1. create new C# Winforms application
2. put button on form
3. do set FormBorderStyle to "Sizable"
4. run the app

-- notice that the size changes

I am working on a multi-desktop environment, maybe that plays also a role on that.

See http://holger.monien.biz/swf/Winforms/Winforms.html for "proof".
Workarounds
set FormBorderStyle to something with the substring "Fixed" as that will prevent any change of size
Attachment
None
Comments

Oleg Zhukov at 12/19/2006 8:27:09 AM -
I've noticed this too. A minor bug.

Server Response from: ETNACODE01