Qt CSS图像在相同的小部件背景? (Teamspeak主题)

时间:2013-10-10 01:04:40

标签: css qt qtstylesheets

我正在尝试为TeamSpeak 3创建一个新主题,我需要一个具有透明背景的图像来悬停并缩放到背景之上。我该怎么做?

我尝试在background-image:下添加常规图像:,图像位置:等,但它不起作用。

编辑:这是我需要添加图片的聊天的CSS。

ChatTab {
border-image: url('Styles/Valor/Images/chatarea.png');
border-right: 5px transparent;
border-left: 5px transparent;
background-color: #121212;
text-transform: normal;
font-family: Helvetica, Arial, sans-serif;
color: #cccccc;
padding-right: 10px;
padding-left: 10px;
padding-top: 4px;
padding-bottom: 4px;
show-decoration-selected: 0;
background-image:url('Styles/Valor/Images/top2.png');
background-position:right bottom;
background-repeat: repeat-xy;
background-attachment: fixed;

}

0 个答案:

没有答案