mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-04 23:17:56 +00:00
31a10d9b16
* QWorkspaceInfo.cs: * QParser.cs: * WorkspacePrompt.cs: * QEventArgs.cs: Remove redundant QWorkspaceInfo class * QRecentWorkspaceInfo.cs: Add bundle info class for recent workspace info * ControlPage.xaml.cs: * QBrowserPage.xaml.cs: * QButton.cs: * qConnectionPage.xaml.cs: * QLevelsCell.cs: * QCueListCell.cs: * QInstanceCell.cs: * QControlsBlock.cs: * ShadowButton.cs: * QLevelsButton.cs: * QSelectedCueCell.cs: Move Cells classess under UI * AppDelegate.cs: * packages.config: * MainActivity.cs: * packages.config: * qController.iOS.csproj: * qController.Droid.csproj: * qController.csproj: Update dependencies * App.xaml.cs: Add AppAction code for recent workspace * QStorage.cs: Add recent workspace to persistent storage * QCueGrid.cs: Start on interactivity with cue list grid * QCueViewModel.cs: debug for children updated start on reactive QCueGrid * WorkspacePage.xaml.cs: Start handling a "no selected cue" state and recent workspace * QInstance.cs: * IPHelper.cs: move reachable check to IPHelper - TODO: implement
30 lines
929 B
C#
30 lines
929 B
C#
using Xamarin.Forms;
|
|
namespace qController.UI.Buttons
|
|
{
|
|
public class QLevelsButton : ShadowButton
|
|
{
|
|
public Button button;
|
|
public QLevelsButton()
|
|
{
|
|
button = new Button
|
|
{
|
|
Text = QIcon.SLIDERS,
|
|
TextColor = Color.Black,
|
|
FontFamily = App.QFont,
|
|
FontSize = App.HeightUnit * 4,
|
|
VerticalOptions = LayoutOptions.FillAndExpand,
|
|
HorizontalOptions = LayoutOptions.FillAndExpand,
|
|
HeightRequest = App.HeightUnit * 8,
|
|
WidthRequest = App.HeightUnit * 8,
|
|
CornerRadius = (int)(App.HeightUnit * 4),
|
|
BackgroundColor = Color.LightBlue
|
|
};
|
|
|
|
HeightRequest = button.Height;
|
|
WidthRequest = button.Width;
|
|
CornerRadius = button.CornerRadius;
|
|
Content = button;
|
|
}
|
|
}
|
|
}
|