Mantis - Squeak Packages
Viewing Issue Advanced Details
6932 Polymorph minor always 02-17-08 11:47 02-19-08 10:17
Nicolai Hess  
GazzaGuru  
normal  
resolved  
fixed  
none    
none  
0006932: SystemWindow bypasses Thememanager on makeClosable.
When selectiong makeUncloseable and makeCloseable from
a SystemWindow Windowmenu.
The closebutton will be added "unthemed".

Notes
(0011824)
GazzaGuru   
02-18-08 10:45   
Investigating...
(0011825)
GazzaGuru   
02-18-08 11:04   
Pinesoft-Widgets-gvc.288 on SqueakSource should clear this up if you'd like to test. The control "boxes" stuff could really do with a through refactoring though! Thanks.
(0011833)
Nicolai Hess   
02-19-08 08:34   
Yes, now it works.
But does it work only for themes provided
by the UIEnhancements-package or for all themes (are there any other?).
After a quick look at the theme integration in SystemWindow
I think there is no separation between controlbox creation
and placement. Or in other words on re-adding one box all other
boxes must be recreated?
(0011834)
GazzaGuru   
02-19-08 10:17   
Just for the UI Enhancement themes. Until I get around to refactoring, #replaceBoxes should be called after using the existing methods on SystemWindow to reinstate boxes after deletion since the box order/layout is now theme-dependent.
(0011835)
GazzaGuru   
02-19-08 10:17   
Closing since fixed.