Don't set the Foreground color of Software boxes, it makes GTK+3 css system slow as hell.

[DEVELOPMENT ENVIRONMENT]
* NEW: Now the 'close' stock button is smaller, use its 'small' size again.
* BUG: Don't set the Foreground color of Software boxes, it makes GTK+3 css system slow as hell.
This commit is contained in:
gambas 2021-03-05 00:39:55 +01:00
parent 235fbbe70d
commit 11ae388185
5 changed files with 9 additions and 5 deletions

View file

@ -31,7 +31,7 @@ Component=gb.signal
Description="Integrated Development Environment for Gambas"
Authors="Benoît Minisini\nFabien Bodard\nCharlie Reinl\nJosé Luis Redrejo\nRobert Rowe\nTobias Boege"
Arguments=[["-L"],["-t","/home/benoit/gambas/git/master/app/src/gambas3"],["--help"]]
Environment="GB_GUI=gb.qt5\n GTK_DEBUG=interactive"
Environment="GB_GUI=gb.gtk3\n GTK_DEBUG=interactive"
TabSize=2
Translate=1
Language=en

View file

@ -102,7 +102,7 @@
}
{ btnCloseHelp ToolButton
MoveScaled(15,0,3,3)
Picture = Picture["icon:/tiny/close"]
Picture = Picture["icon:/small/close"]
}
}
{ Separator1 Separator

View file

@ -1299,7 +1299,7 @@
MoveScaled(5,1,22,3)
Foreground = Color.LightForeground
Expand = True
Picture = Picture["icon:/tiny/close"]
Picture = Picture["icon:/small/close"]
Border = False
ClearButton = True
Filter = True
@ -1373,7 +1373,7 @@
{ btnClosePanel ToolButton
MoveScaled(73,3,4,4)
Ignore = True
Picture = Picture["icon:/tiny/close"]
Picture = Picture["icon:/small/close"]
}
}
{ Separator1 Separator

View file

@ -231,6 +231,8 @@ Public Sub Request_Finished()
Return
Endif
'svwFarm.Arrangement = Arrange.None
aId = Split(hReq.Result["Result"])
For Each sId In aId
@ -241,6 +243,8 @@ Public Sub Request_Finished()
Next
'svwFarm.Arrangement = Arrange.Row
CheckSoftwareCount()
If $SY Then

View file

@ -31,7 +31,7 @@ Public Sub _new(iId As Integer, sFarm As String) ', sLogin As String, sPassword
$hInstall = Picture["icon:/16/download"].Image
Endif
Me.Foreground = Color.TextForeground
'Me.Foreground = Color.TextForeground
$sFarm = sFarm
$iId = iId