* QControlsBlock.cs: Make Rows take up only the height now

* QSelectedCueCell.cs: Continue UI work

* QSelectedCueOptionsCell.cs: Start work on Converting to Popup Style

* ShadowButton.cs: Button in Frame with Shadow

* ControlPage.xaml:
* ControlPage.xaml.cs: Continue work on UI
This commit is contained in:
2019-07-16 07:48:41 -05:00
parent 071ce36821
commit 762472d945
6 changed files with 105 additions and 33 deletions
@@ -23,7 +23,7 @@ namespace qController
BackgroundColor = Color.Transparent;
//highlight Button Grid
//BackgroundColor = Color.FromHex("FF0000");
BackgroundColor = Color.FromHex("FF0000");
List<QCommand> commands = new List<QCommand>();
commands.Add(QCommands.PREVIOUS);
@@ -51,9 +51,9 @@ namespace qController
{
Padding = new Thickness(0),
RowDefinitions = {
new RowDefinition{Height = GridLength.Auto},
new RowDefinition{Height = GridLength.Auto},
new RowDefinition{Height = GridLength.Auto}
new RowDefinition{Height = GridLength.Star},
new RowDefinition{Height = GridLength.Star},
new RowDefinition{Height = GridLength.Star}
},
ColumnDefinitions = {
new ColumnDefinition{Width = new GridLength(1,GridUnitType.Star)},
@@ -142,7 +142,6 @@ namespace qController
mainG.Children.Add(bottomGrid, 0, 1);
Grid.SetColumnSpan(bottomGrid, 5);
Padding = new Thickness(5);
CornerRadius = 20;
BackgroundColor = Color.FromHex("D8D8D8");
HeightRequest = App.HeightUnit * 25;
@@ -20,7 +20,12 @@ namespace qController
{
Padding = new Thickness(5);
CornerRadius = 20;
BackgroundColor = Color.FromHex("D8D8D8");
BackgroundColor = Color.Transparent;
//highlight for testing
BackgroundColor = Color.Red;
Grid mainG = new Grid
{
Padding = new Thickness(0),
@@ -0,0 +1,21 @@
using System;
using Xamarin.Forms;
namespace qController
{
public class ShadowButton : Frame
{
public ShadowButton(Button b)
{
//Content = b;
HeightRequest = b.Height;
WidthRequest = b.Width;
CornerRadius = b.CornerRadius;
Padding = new Thickness(0);
Content = b;
HasShadow = true;
BorderColor = Color.Black;
IsVisible = false;
}
}
}