Opened 11 years ago
Closed 11 years ago
#2350 closed Bug (Fixed)
Strange issue when using $SS_ETCHEDVERT and $SS_ETCHEDHORZ
Reported by: | BrewManNH | Owned by: | Jon |
---|---|---|---|
Milestone: | 3.3.9.10 | Component: | AutoIt |
Version: | 3.3.9.4 | Severity: | None |
Keywords: | Cc: |
Description
If you run the code below, you will see that $SS_ETCHEDVERT will create a static control 2 pixels wide on the left side of where the label control is supposed to be. If you minimize the window, and then restore the it, the appearance of the label has changed to appear to be using the $SS_ETCHEDFRAME style. Using the AU3Info tool I can see that the control's style doesn't change, just the appearance. If you uncomment any of the other lines that use the GUICtrlCreateLabel function, and comment the *VERT line, you will see it happens with the *HORZ style as well.
#include <GUIConstantsEx.au3> #include <StaticConstants.au3> Example() Func Example() Local $widthCell, $msg GUICreate("My GUI") $widthCell = 70 ;~ GUICtrlCreateLabel("Line 1 Cell 1", 10, 30, $widthCell, 80, $SS_ETCHEDHORZ) GUICtrlCreateLabel("Line 1 Cell 1", 10, 30, $widthCell, 80, $SS_ETCHEDVERT) ;~ GUICtrlCreateLabel("Line 1 Cell 1", 10, 30, $widthCell, 80, $SS_ETCHEDFRAME) GUISetState() Do $msg = GUIGetMsg() Until $msg = $GUI_EVENT_CLOSE EndFunc ;==>Example
This occurs using AutoIt 3.3.8.1 and 3.3.9.4
Attachments (0)
Change History (1)
comment:1 Changed 11 years ago by Jon
- Milestone set to 3.3.9.10
- Owner set to Jon
- Resolution set to Fixed
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Fixed by revision [8061] in version: 3.3.9.10