toolbar item priority ...
This commit is contained in:
parent
299f41e8fc
commit
44a58daeed
1 changed files with 1 additions and 4 deletions
|
|
@ -207,7 +207,7 @@ namespace BookAStar
|
||||||
masterDetail.Detail = new NavigationPage(home);
|
masterDetail.Detail = new NavigationPage(home);
|
||||||
ToolbarItem tiSetts = new ToolbarItem()
|
ToolbarItem tiSetts = new ToolbarItem()
|
||||||
{
|
{
|
||||||
Priority = 0,
|
// FIXME what for? Priority = 0,
|
||||||
Text = "Paramètres",
|
Text = "Paramètres",
|
||||||
Icon = "ic_corp_icon.png",
|
Icon = "ic_corp_icon.png",
|
||||||
Command = new Command(
|
Command = new Command(
|
||||||
|
|
@ -217,7 +217,6 @@ namespace BookAStar
|
||||||
|
|
||||||
ToolbarItem tiHome = new ToolbarItem()
|
ToolbarItem tiHome = new ToolbarItem()
|
||||||
{
|
{
|
||||||
Priority = -1,
|
|
||||||
Text = "Accueil",
|
Text = "Accueil",
|
||||||
Icon = "icon.png",
|
Icon = "icon.png",
|
||||||
Command = new Command(
|
Command = new Command(
|
||||||
|
|
@ -227,7 +226,6 @@ namespace BookAStar
|
||||||
|
|
||||||
ToolbarItem tiPubChat= new ToolbarItem()
|
ToolbarItem tiPubChat= new ToolbarItem()
|
||||||
{
|
{
|
||||||
Priority = 1,
|
|
||||||
Text = "Chat",
|
Text = "Chat",
|
||||||
Icon = "chat_icon_s.png",
|
Icon = "chat_icon_s.png",
|
||||||
Command = new Command(
|
Command = new Command(
|
||||||
|
|
@ -237,7 +235,6 @@ namespace BookAStar
|
||||||
masterDetail.ToolbarItems.Add(tiHome);
|
masterDetail.ToolbarItems.Add(tiHome);
|
||||||
masterDetail.ToolbarItems.Add(tiSetts);
|
masterDetail.ToolbarItems.Add(tiSetts);
|
||||||
masterDetail.ToolbarItems.Add(tiPubChat);
|
masterDetail.ToolbarItems.Add(tiPubChat);
|
||||||
|
|
||||||
this.MainPage = masterDetail;
|
this.MainPage = masterDetail;
|
||||||
NavigationService = new NavigationService(masterDetail.Detail.Navigation);
|
NavigationService = new NavigationService(masterDetail.Detail.Navigation);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue