more notes functionalities
This commit is contained in:
parent
1e244795fc
commit
6d607b6d02
5 changed files with 38 additions and 15 deletions
|
@ -1,5 +1,4 @@
|
|||
/* Generated by MyraPad at 01/12/2020 15:39:17 */
|
||||
using Myra;
|
||||
/* Generated by MyraPad at 01/12/2020 23:04:35 */
|
||||
using Myra.Graphics2D;
|
||||
using Myra.Graphics2D.TextureAtlases;
|
||||
using Myra.Graphics2D.UI;
|
||||
|
@ -26,15 +25,15 @@ namespace Sledgemapper.UI
|
|||
LblNoteText.Id = "LblNoteText";
|
||||
|
||||
BtnNoteView = new ImageButton();
|
||||
BtnNoteView.Width = 30;
|
||||
BtnNoteView.Height = 30;
|
||||
BtnNoteView.Width = 20;
|
||||
BtnNoteView.Height = 20;
|
||||
BtnNoteView.Padding = new Thickness(5);
|
||||
BtnNoteView.VerticalAlignment = Myra.Graphics2D.UI.VerticalAlignment.Center;
|
||||
BtnNoteView.Id = "BtnNoteView";
|
||||
|
||||
BtnNoteCenter = new ImageButton();
|
||||
BtnNoteCenter.Width = 30;
|
||||
BtnNoteCenter.Height = 30;
|
||||
BtnNoteCenter.Width = 20;
|
||||
BtnNoteCenter.Height = 20;
|
||||
BtnNoteCenter.Padding = new Thickness(5);
|
||||
BtnNoteCenter.VerticalAlignment = Myra.Graphics2D.UI.VerticalAlignment.Center;
|
||||
BtnNoteCenter.Id = "BtnNoteCenter";
|
||||
|
@ -42,6 +41,9 @@ namespace Sledgemapper.UI
|
|||
|
||||
Spacing = 15;
|
||||
VerticalAlignment = Myra.Graphics2D.UI.VerticalAlignment.Center;
|
||||
Margin = new Thickness(0, 0, 0, 8);
|
||||
Padding = new Thickness(4);
|
||||
Background = new SolidBrush("#404040FF");
|
||||
Widgets.Add(LblNoteText);
|
||||
Widgets.Add(BtnNoteView);
|
||||
Widgets.Add(BtnNoteCenter);
|
||||
|
@ -52,4 +54,4 @@ namespace Sledgemapper.UI
|
|||
public ImageButton BtnNoteView;
|
||||
public ImageButton BtnNoteCenter;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
<Project>
|
||||
<Project.ExportOptions Namespace="Sledgemapper.UI" Class="NoteListItem" OutputPath="C:\dev\Map\Sledgemapper\UI" />
|
||||
<HorizontalStackPanel Spacing="15" VerticalAlignment="Center">
|
||||
<HorizontalStackPanel Spacing="15" VerticalAlignment="Center" Margin="0, 0, 0, 8" Padding="4" Background="#404040FF">
|
||||
<Label Text="13:13 - Something like this, very long and trimmed" AutoEllipsisMethod="Character" Width="300" VerticalAlignment="Center" Id="LblNoteText" />
|
||||
<ImageButton Width="30" Height="30" Padding="5" VerticalAlignment="Center" Id="BtnNoteView" />
|
||||
<ImageButton Width="30" Height="30" Padding="5" VerticalAlignment="Center" Id="BtnNoteCenter" />
|
||||
<ImageButton Width="20" Height="20" Padding="5" VerticalAlignment="Center" Id="BtnNoteView" />
|
||||
<ImageButton Width="20" Height="20" Padding="5" VerticalAlignment="Center" Id="BtnNoteCenter" />
|
||||
</HorizontalStackPanel>
|
||||
</Project>
|
Loading…
Add table
Add a link
Reference in a new issue