Replies: 11 comments 13 replies
-
|
Hey, the story behind this i started the implementation with a totally drawn entry, 2 more points, I'm actually reworking them for a totally drawn app I'm working right now and fixed some stuff already. So I can tell there are maybe small issues in those on nuget. Those fixed will come out to main repo soon. And the second point: I will DEFINITELY go back to that totally drawn entry, the Please feel free to ask if you meet more problems, will be glad to help. |
Beta Was this translation helpful? Give feedback.
-
|
[ False] [True] [VisualTree Not Visible Height -1] [True] [True] [True] [Solution] |
Beta Was this translation helpful? Give feedback.
-
|
@jbtdevgit Hey i just got your maybe initial message in email, but I cant find it here maybe you edited. But to remove the confusion: 1 you can (and maybe should) totally use this all as a mix. so if I had MAUI controls to use I could use a Grid, place a (not-accelerated!!!) canvas as first layer, with shape/frame and an icon to the right, and would place on top (inside maui Grid) my maui Entry. so basically you can include canvases here and there to draw anything. that's what I do when I have an existing Xamarin/MAUI app to make faster, I define laggy points and replace bunch of native laggy controls with just 1 canvas and virtual stuff inside. 2 when you have a totally drawn app and you need a MAUI control you can include it over the canvas with SkiaMauiElement. an example is still there https://github.com/taublast/DrawnUi.Maui.Demo. you would see how I include maui WebView into the drawn modal drawer. |
Beta Was this translation helpful? Give feedback.
-
|
@jbtdevgit regarding the canvas height, normally it should autosize to content, if it bugs please provide an example so I can fix this. if it doesn't autosize means the content inside did not define any size itself. a veeery important difference from MAUI here is that in Maui by default controls are using either Fill or some hardcoded minimum size. in drawnui everything is |
Beta Was this translation helpful? Give feedback.
-
|
@jbt what happens if you add HorizontalOptions="Fill" to your |
Beta Was this translation helpful? Give feedback.
-
|
@jbtdevgit hmm ty, will look into Grid. btw do not feel obliged to use Grid here, Absolute is faster and less buggy. it's not maui absolute, it's just like a maui grid with 1 col and 1 row that we use all the time to just overlay stuff. |
Beta Was this translation helpful? Give feedback.
-
|
@taublast Do you know what's causing this in Windows? I have copied the |
Beta Was this translation helpful? Give feedback.
-
|
Regarding your button, or rather canvas, you have to enable gestures for it with Looking into the other grid stuff now.. |
Beta Was this translation helpful? Give feedback.
-
|
Images, we are not useing Resources/Images it's purely MAUI stuff. As stated in README: All files to be consumed (images etc) must be placed inside the MAUI app Resources/Raw folder, subfolders allowed. If you need to load from the native app folder use prefix "file://". Please look at sample project Sandbox od the Demo app for example. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Ill try to out a new nuget in few days max with many fixes for shape etc, the one out there has bugs aligning strokes on low density like windows screen and padding issue. There are way so many fixes. Along with Buttons btw, you would get platform looks to choose from out-of-the box for button, checkbox, switch for now. Some breaking changes there but worth it.. |
Beta Was this translation helpful? Give feedback.










Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am having trouble to make a entry with an icon beside it and it never renders. My goal is to create an entry with a border and an icon beside the entry. This is just an example for me to test the water.
Below is how I render it in a
ContentPageI also tried creating it in a
ContentViewand referencing it in theContentPage.However none of them works. Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions