Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TMIput display as two views in windows #340

Open
amosekr opened this issue Jan 18, 2024 · 3 comments
Open

TMIput display as two views in windows #340

amosekr opened this issue Jan 18, 2024 · 3 comments

Comments

@amosekr
Copy link
Collaborator

amosekr commented Jan 18, 2024

In windows the entry field display as two views
image

We faced an issue while integrating the Modus TMInput control.
Modus control is not displaying, if create a derived class of modus control
I created the derived class from TMInput, like below
image

If i use ModusTextBox, the control is not displaying. If i use TMInput directly, then only the control is displaying.

@BAL4-R
Copy link
Collaborator

BAL4-R commented Feb 2, 2024

@amosekr Please add the following code in your project's Platform/Windows/App.xaml file.

  <maui:MauiWinUIApplication.Resources>
      <Thickness x:Key="TextControlBorderThemeThickness">0</Thickness>
      <Thickness x:Key="TextControlBorderThemeThicknessFocused">0</Thickness>
  </maui:MauiWinUIApplication.Resources>

This will remove the underline in all Entry control.

@amosekr
Copy link
Collaborator Author

amosekr commented Feb 2, 2024

Thanks, the underline of the control has been removed now but still i am seeing white background view inside the control
image

@amosekr
Copy link
Collaborator Author

amosekr commented Apr 16, 2024

I am not seeing this issue in latest modus release. Please close this ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants