![]() |
TComboBox FMX unter Android: Font size?
Hallo,
ich kann zwar die Comboxbox leicht einstellen, aber wenn ich dann klicke und eine Auswahl treffen, dieser Font ist dann irgendwie fix, er wird z.B. mit Scale=0.8 nicht auch verkleinert. Und auch Fontsize scheint keinen Einfluss zu haben. Hat jemand ein Lösung? Ciao Stephan |
AW: TComboBox FMX unter Android: Font size?
Müsst in etwa so gehen:
Delphi-Quellcode:
procedure doSizeComboBoxItems(ComboBox:TComboBox; Size:Single);
var Item : TListBoxItem; i : Integer; begin for i:=0 to ComboBox.Count-1 do begin Item:=ComboBox.ListItems[i]; Item.Font.Size := size; Item.StyledSettings := Item.StyledSettings - [TStyledSetting.Size]; end; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:33 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz