QGroupBox边框设置 2011-11-09 19:28:59
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash
免费下载资源
·
linux系统中QGroupBox没有边框,所以要对其进行设置。用样式表来设置边框
点击 change stylesheet,输入
QGroupBox {
border-width:1px; //线的粗细
border-style:solid;
border-color:lightGray; //颜色,
margin-top: 0.5ex; //文字在方框中位置的偏离度
}
QGroupBox::title {
subcontrol-origin: margin;
subcontrol-position: top left;
left:25px; //线的偏离度
margin-left: 0px;
padding:0 1px; //文字在方框中位置的偏离度
}
border-width:1px; //线的粗细
border-style:solid;
border-color:lightGray; //颜色,
margin-top: 0.5ex; //文字在方框中位置的偏离度
}
QGroupBox::title {
subcontrol-origin: margin;
subcontrol-position: top left;
left:25px; //线的偏离度
margin-left: 0px;
padding:0 1px; //文字在方框中位置的偏离度
}
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:23 天前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
已为社区贡献5条内容
所有评论(0)