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>> ;
|
M: labeled-gadget focusable-child* content>> ;
|
||||||
|
|
||||||
! gradients don't work as backgrounds on windows, see #152 and #1397
|
: <title-bar> ( title -- title-bar )
|
||||||
: title-bar-interior ( -- interior )
|
>label [ t >>bold? ] change-font
|
||||||
|
{ 0 4 } <border>
|
||||||
os windows?
|
os windows?
|
||||||
[ toolbar-background <solid> ]
|
[ toolbar-background <solid> ]
|
||||||
[ title-bar-gradient <gradient> ]
|
[ title-bar-gradient <gradient> ]
|
||||||
if ;
|
if >>interior ;
|
||||||
|
|
||||||
: <title-bar> ( title -- title-bar )
|
|
||||||
>label [ t >>bold? ] change-font
|
|
||||||
{ 0 4 } <border> title-bar-interior >>interior ;
|
|
||||||
|
|
||||||
PRIVATE>
|
PRIVATE>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue