This commit is contained in:
恍兮惚兮 2024-07-13 01:56:28 +08:00
parent 28fc2154f7
commit 2ad8670c40

View File

@ -288,7 +288,7 @@ def uisetting(self):
), ),
"", "",
"", "",
"" "",
], ],
), ),
), ),
@ -474,8 +474,9 @@ def uisetting(self):
( (
dict( dict(
title="其他界面", title="其他界面",
type="grid",
grid=( grid=(
["字体", createfontcombo], ["字体", (createfontcombo, 0)],
[ [
"字体大小", "字体大小",
D_getspinbox( D_getspinbox(
@ -487,37 +488,33 @@ def uisetting(self):
step=0.1, step=0.1,
callback=lambda _: gobject.baseobject.setcommonstylesheet(), callback=lambda _: gobject.baseobject.setcommonstylesheet(),
), ),
], "",
[
"按钮颜色", "按钮颜色",
( D_getcolorbutton(
D_getcolorbutton( globalconfig,
"buttoncolor2",
callback=lambda: selectcolor(
self,
globalconfig, globalconfig,
"buttoncolor2", "buttoncolor2",
callback=lambda: selectcolor( self.buttoncolorbutton2,
self,
globalconfig,
"buttoncolor2",
self.buttoncolorbutton2,
),
name="buttoncolorbutton2",
parent=self,
), ),
D_getcolorbutton( name="buttoncolorbutton2",
parent=self,
),
D_getcolorbutton(
globalconfig,
"buttoncolor3",
callback=lambda: selectcolor(
self,
globalconfig, globalconfig,
"buttoncolor3", "buttoncolor3",
callback=lambda: selectcolor( self.buttoncolorbutton3,
self,
globalconfig,
"buttoncolor3",
self.buttoncolorbutton3,
),
name="buttoncolorbutton3",
parent=self,
), ),
name="buttoncolorbutton3",
parent=self,
), ),
], "",
[
"按钮大小", "按钮大小",
D_getspinbox(5, 100, globalconfig, "buttonsize2"), D_getspinbox(5, 100, globalconfig, "buttonsize2"),
], ],