Tk Library Source Code

View Ticket
Login
Ticket UUID: 1359028
Title: ScrolledWidget does not respect -relief upon creation
Type: Bug Version: None
Submitter: dev_null42a Created on: 2005-11-17 15:26:36
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-07-14 09:20:48
Resolution: Works For Me Closed By: sf-robot
    Closed on: 2009-07-14 02:20:48
Description:
When creating a ScrolledWindow, the ::create proc
ignores the user's -relief setting; one has to
explicitly call configure on the widget afterwards to
set the relief.  Here is an example run:

% puts $tk_version
8.4
% package require BWidget
1.7
% toplevel .top1
.top1
% ScrolledWindow .top1.sw -relief sunken -borderwidth 2
.top1.sw
% .top1.sw cget -relief
flat
% .top1.sw configure -relief sunken -borderwidth 2
% .top1.sw cget -relief
sunken
User Comments: sf-robot added on 2009-07-14 09:20:48:

allow_comments - 1

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

oehhar added on 2009-06-29 21:33:02:
I think, this is fixed, does not happen for me on windows.
Report, if this is not the case.

Thank you,
Harald