LazMapViewer: Fix height of POI text background color combobox in fulldemo (too small in Linux)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9305 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2024-03-31 16:52:57 +00:00
parent 2b3c16e686
commit 1ab5a3d877
3 changed files with 5 additions and 3 deletions

View File

@ -915,14 +915,14 @@ object MainForm: TMainForm
AnchorSideTop.Side = asrCenter
AnchorSideRight.Side = asrBottom
Left = 142
Height = 16
Top = 470
Height = 21
Top = 468
Width = 119
NoneColorColor = clWhite
Style = [cbStandardColors, cbExtendedColors, cbIncludeNone, cbCustomColor, cbPrettyNames, cbCustomColors]
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Left = 6
ItemHeight = 10
ItemHeight = 15
TabOrder = 10
OnChange = cbPOITextBgColorChange
end

View File

@ -505,6 +505,7 @@ begin
CbUseThreads.Checked := MapView.UseThreads;
CbDoubleBuffer.Checked := MapView.DoubleBuffered;
CbPOITextBgColor.Selected := MapView.POITextBgColor;
CbPOITextBgColor.ItemHeight := CbProviders.ItemHeight + 2;
ClbBackColor.ButtonColor := MapView.InactiveColor;
InfoPositionLongitude.Caption := '';

View File

@ -521,6 +521,7 @@ begin
CbUseThreads.Checked := MapView.UseThreads;
CbDoubleBuffer.Checked := MapView.DoubleBuffered;
CbPOITextBgColor.Selected := MapView.POITextBgColor;
CbPOITextBgColor.ItemHeight := CbProviders.ItemHeight + 2;
clbBackColor.ButtonColor := MapView.InactiveColor;
InfoPositionLongitude.Caption := '';