以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 按钮字体不居中 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=191427) |
-- 作者:puma -- 发布时间:2024/4/16 12:22:00 -- 按钮字体不居中 按钮上下不居中。感觉靠上了。 With btn .Theme = "(none)" .FlatStyle = FlatStyle.flat \'.BackColor = Color.SeaGreen .BackColor=Color.FromARGB(60,115,200) .BorderSize = 0 .ForeColor= Color.white \'.TextAlign = ContentAlignment.BottomCenter \'.TextAlign=TopRight \'.TextImageRelation=TextImageRelation.TextAboveImage \'.Location = New Point(30, 30) \'.Size = New Size(75, 25) \'.text = "&OK" End With btn.TextAlign = ContentAlignment.BottomCenter
|
-- 作者:有点蓝 -- 发布时间:2024/4/16 13:34:00 -- 就是这样的,做不到一分不差,完全居中 |