Revert "ui.gadgets.labeled: separate title-bar-interior with a comment why."
This reverts commit cb575c1ba8
.
clean-macosx-x86-32
parent
7ad6784911
commit
a3b439047f
|
@ -11,16 +11,13 @@ TUPLE: labeled-gadget < track content ;
|
|||
|
||||
M: labeled-gadget focusable-child* content>> ;
|
||||
|
||||
! gradients don't work as backgrounds on windows, see #152 and #1397
|
||||
: title-bar-interior ( -- interior )
|
||||
: <title-bar> ( title -- title-bar )
|
||||
>label [ t >>bold? ] change-font
|
||||
{ 0 4 } <border>
|
||||
os windows?
|
||||
[ toolbar-background <solid> ]
|
||||
[ title-bar-gradient <gradient> ]
|
||||
if ;
|
||||
|
||||
: <title-bar> ( title -- title-bar )
|
||||
>label [ t >>bold? ] change-font
|
||||
{ 0 4 } <border> title-bar-interior >>interior ;
|
||||
if >>interior ;
|
||||
|
||||
PRIVATE>
|
||||
|
||||
|
|
Loading…
Reference in New Issue