Hi Marco,
We can set the
FontAutoScalingEnabled property as false to the entry through the SfComboBox
children to disable the font auto scaling in the SfComboBox input field as
shown in the code snippet below.
Please refer to the
below code snippet for this,
|
if(comboBox!=null)
{
var inputView = (comboBox.Children[1] as
Entry);
if(inputView!=null)
{
inputView.FontAutoScalingEnabled
= false;
}
}
|
Regarding the font
size of drop-down items, by default, they do not change based on system font
size changes in our testing. However, if you encounter situations where the
drop-down item font size changes based on system font size changes, please
provide further details. Additionally, you can set the font size for SfComboBox
drop-down items using the DropDownItemFontSize property, as illustrated in the
code snippet below:
Please refer to the
below code snippet for this,
|
<editors:SfComboBox
IsEditable="True"
x:Name="comboBox"
DropDownItemFontSize="16"
ItemsSource="{Binding RoomsRemarksCustomData}"
Text="{Binding
Text,Mode=TwoWay}">
</editors:SfComboBox>
|
For your
convenience, we have included the sample as an attachment. Kindly review the
attached file and inform us if you have any concerns. If your requirements
differ from the suggested solution, kindly provide detailed specifications to
facilitate a more effective investigation and solution.
Regards,
Brundha V
Attachment:
ComboBoxMaui_(2)_f72ae70.zip