This is a migrated thread and some comments may be shown as answers.

Gauge in grid does not stretch to occupy all space?

5 Answers 43 Views
Gauges
This is a migrated thread and some comments may be shown as answers.
Michel
Top achievements
Rank 1
Michel asked on 12 Apr 2017, 09:42 AM

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..

5 Answers, 1 is accepted

Sort by
0
Michel
Top achievements
Rank 1
answered on 12 Apr 2017, 09:46 AM

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

0
Petar Marchev
Telerik team
answered on 12 Apr 2017, 01:29 PM
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
0
Michel
Top achievements
Rank 1
answered on 12 Apr 2017, 01:37 PM

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

0
Lance | Manager Technical Support
Telerik team
answered on 12 Apr 2017, 02:20 PM
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
0
Michel
Top achievements
Rank 1
answered on 13 Apr 2017, 07:46 AM

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.

Tags
Gauges
Asked by
Michel
Top achievements
Rank 1
Answers by
Michel
Top achievements
Rank 1
Petar Marchev
Telerik team
Lance | Manager Technical Support
Telerik team
Share this question
or