зеркало из https://github.com/DeGsoft/maui-linux.git
32 строки
577 B
C#
32 строки
577 B
C#
using Xamarin.Forms.Internals;
|
|
|
|
namespace Xamarin.Forms.Platform.GTK
|
|
{
|
|
public class GtkDeviceInfo : DeviceInfo
|
|
{
|
|
public override Size PixelScreenSize
|
|
{
|
|
get
|
|
{
|
|
return new Size(800, 600);
|
|
}
|
|
}
|
|
|
|
public override Size ScaledScreenSize
|
|
{
|
|
get
|
|
{
|
|
return new Size(800, 600);
|
|
}
|
|
}
|
|
|
|
public override double ScalingFactor
|
|
{
|
|
get
|
|
{
|
|
return 1.0d;
|
|
}
|
|
}
|
|
}
|
|
}
|