Skip to content

Commit

Permalink
Small fixes + screenshots
Browse files Browse the repository at this point in the history
Changed Other to Misc
Fixed visibility of dropdown 2
Added screenshots
  • Loading branch information
PyroGenesis committed Dec 24, 2017
1 parent df0de1c commit 0691eb0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions Hearthstone-Quest-Tracker/QuestSelection.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Window
x:Class="Hearthstone_Quest_Tracker.QuestSelection" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Choose Quests"
Expand Down Expand Up @@ -47,7 +47,7 @@
<ComboBoxItem
x:Name="Class">Class</ComboBoxItem>
<ComboBoxItem
x:Name="Other">Other</ComboBoxItem>
x:Name="Other">Misc</ComboBoxItem>
</ComboBox>
<Label
Name="labelQuest"
Expand All @@ -59,7 +59,8 @@
Padding="5,0,5,0"
Height="20"
HorizontalAlignment="Right"
Margin="0,0,10,0" />
Margin="0,0,10,0"
Visibility="Hidden" />
<ComboBox
Name="comboQuest"
Height="20"
Expand All @@ -69,7 +70,8 @@
HorizontalAlignment="Left"
Padding="5,0,5,0"
DropDownClosed="ComboQuest_DropDownClosed"
Width="120" />
Width="120"
Visibility="Hidden" />
</Grid>
<DockPanel
Height="75"
Expand Down
4 changes: 2 additions & 2 deletions Hearthstone-Quest-Tracker/QuestSelection.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void ComboCategory_DropDownClosed(object sender, EventArgs e)

if(category.Equals("Class"))
labelQuest.Content = "Choose class:";
else if(category.Equals("Other"))
else if(category.Equals("Misc"))
labelQuest.Content = "Choose quest:";
labelQuest.Visibility = Visibility.Visible;
comboQuest.Visibility = Visibility.Visible;
Expand Down Expand Up @@ -100,7 +100,7 @@ private void loadComboQuestData(string _category)
{
comboItemsGenerator(classes);
}
else if(_category.Equals("Other"))
else if(_category.Equals("Misc"))
{
comboItemsGenerator(others);
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0691eb0

Please sign in to comment.