Gauge in grid does not stretch to occupy all space?

6 posts, 0 answers
  1. Michel
    Michel avatar
    18 posts
    Member since:
    Oct 2016

    Posted 12 Apr Link to this post

    I want to show 4 gauges that occupy as much space as available  . I have created a grid with two rows and two columns with size *.

    I would expect they would occupy a quarter of the screen but they are show very small in the top left corner. How can I show them occupying a quarter of the screen?

    My grid:

    <Grid BackgroundColor="Pink" Padding="1">        <Grid.RowDefinitions>            <RowDefinition Height="*" />            <RowDefinition Height="*" />        </Grid.RowDefinitions>        <Grid.ColumnDefinitions>            <ColumnDefinition Width="*"/>            <ColumnDefinition Width="*"/>        </Grid.ColumnDefinitions> etc..

  2. Michel
    Michel avatar
    18 posts
    Member since:
    Oct 2016

    Posted 12 Apr Link to this post

    I am using Nugget package Telerik.Ui.for.Xamarin 2017.1.1220.4

  3. Petar Marchev
    Admin
    Petar Marchev avatar
    996 posts

    Posted 12 Apr Link to this post

    Hi Michel,

    You are using the Beta version in which there was a bug that caused what you see. The issue was that the Gauge is drawn with the SkiaSharp engine and we had not taken into account the device-independent-pixels and actual-device-pixels difference. We quickly fixed this and you can get the latest official version to get it to work properly.

    Regards,
    Petar Marchev
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  4. Michel
    Michel avatar
    18 posts
    Member since:
    Oct 2016

    Posted 12 Apr in reply to Petar Marchev Link to this post

    Hi Petar,

    I am using the Nugget package Telerik.Ui.for.Xamarin 2017.1.1220.4 which is the latest version as far as I can see. Is this a beta release? On your nugget server I cannot find a newer version. Can I use the latest official version on you nugget server or do  need to download a version manually? And if so which version do I need to download then. I prefer to use nugget though.

    Regards,

    Michel

  5. Lance | Tech Support Engineer, Sr.
    Admin
    Lance | Tech Support Engineer, Sr. avatar
    362 posts

    Posted 12 Apr Link to this post

    Hello Michael,

    Take a look at the attached screenshot, you'll see that 201.1.10321.10 is available via nuget.

    To ensure that you're checking against the Telerik nuget server, set the Package Source drop down (at the top right) set to the Teleirk nuget server. 

    Here's a screenshot of what I'm referring to:




    If you're not getting a fresh list, it is also possible that you're not signed in. To force a full package restore, close the solution and manually delete the solution's Packages folder. When you re-open the solution, doing a package restore should prompt you to enter your Telerik credentials when it restores UI for Xamarin.

    If you're having trouble with Visual Studio and the package manager, you can delete the Telerik Package source and re-add it to you package sources list. This will force VS to ask you to sign in again.

    I've attached my test app, that uses the latest nuget package, which you can attempt to restore the packages on your side.

    Regards,
    Lance | Tech Support Engineer, Sr.
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  6. Michel
    Michel avatar
    18 posts
    Member since:
    Oct 2016

    Posted 13 Apr Link to this post

    Dear support,

    I was using a deprecated account for your nugget server. I re-added the nugget source with the correct account and now updated to the latest version. Everything now works as expected. Thanks!

    Regards,

    Michel.

Back to Top