Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Team 14 - IDATT1002
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eirik Steira
Team 14 - IDATT1002
Commits
5a44604f
Commit
5a44604f
authored
5 years ago
by
Eirik Steira
Browse files
Options
Downloads
Plain Diff
Merge branch 'map_redesign' into 'dev'
Map redesign See merge request
!131
parents
7379ffb2
fcb35d53
No related branches found
No related tags found
2 merge requests
!165
Weekly merge to Master
,
!131
Map redesign
Pipeline
#79299
passed
5 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/NTNU/IDATT1002/map.fxml
+62
-40
62 additions, 40 deletions
src/main/resources/NTNU/IDATT1002/map.fxml
with
62 additions
and
40 deletions
src/main/resources/NTNU/IDATT1002/map.fxml
+
62
−
40
View file @
5a44604f
<?xml version="1.0" encoding="UTF-8"?>
<?import com.lynden.gmapsfx.GoogleMapView?>
<?import javafx.scene.control.*?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<AnchorPane
prefHeight=
"1080.0"
prefWidth=
"1920.0"
xmlns=
"http://javafx.com/javafx/11.0.1"
xmlns:fx=
"http://javafx.com/fxml/1"
fx:controller=
"NTNU.IDATT1002.controllers.Map"
>
<children>
<VBox
prefHeight=
"1080.0"
prefWidth=
"1920.0"
AnchorPane.bottomAnchor=
"0.0"
AnchorPane.leftAnchor=
"0.0"
AnchorPane.rightAnchor=
"0.0"
AnchorPane.topAnchor=
"0.0"
>
<VBox
prefHeight=
"1080.0"
prefWidth=
"1920.0"
styleClass=
"viewbg"
stylesheets=
"@style.css"
AnchorPane.bottomAnchor=
"0.0"
AnchorPane.leftAnchor=
"0.0"
AnchorPane.rightAnchor=
"0.0"
AnchorPane.topAnchor=
"0.0"
>
<children>
<HBox
alignment=
"CENTER"
minHeight=
"100.0"
prefHeight=
"100.0"
prefWidth=
"1920.0"
spacing=
"20.0"
style=
"-fx-background-color: #0c0c0c;"
>
<HBox
alignment=
"CENTER"
prefHeight=
"100.0"
prefWidth=
"200.0"
styleClass=
"tbarbg"
stylesheets=
"@style.css"
>
<children>
<HBox
alignment=
"CENTER"
minHeight=
"100.0"
prefHeight=
"100.0"
prefWidth=
"1920.0"
spacing=
"20.0"
>
<children>
<HBox
alignment=
"CENTER_LEFT"
prefHeight=
"100.0"
prefWidth=
"250.0"
>
<children>
<ImageView
fx:id=
"tbar_logo"
fitHeight=
"69.0"
fitWidth=
"153.0"
onMouseClicked=
"#switchToMain"
pickOnBounds=
"true"
preserveRatio=
"true"
>
<image>
<Image
url=
"@../../Images/PlaceholderLogo.png"
/>
</image>
<HBox.margin>
<Insets
/>
</HBox.margin>
</ImageView>
</children>
<opaqueInsets>
<Insets
/>
</opaqueInsets>
</HBox>
<TextField
fx:id=
"tbar_search"
focusTraversable=
"false"
minWidth=
"200.0"
prefHeight=
"35.0"
prefWidth=
"400.0"
promptText=
"Search: Tags, Albums, Metadata, etc..."
>
<HBox.margin>
<Insets
/>
</HBox.margin>
</TextField>
<Button
fx:id=
"tbar_searchBtn"
minWidth=
"70"
mnemonicParsing=
"false"
onAction=
"#switchToSearch"
text=
"SEARCH"
textFill=
"white"
/>
<Button
fx:id=
"tbar_explore"
minWidth=
"70"
mnemonicParsing=
"false"
onAction=
"#switchToExplore"
text=
"EXPLORE"
textFill=
"white"
/>
<Button
fx:id=
"tbar_albums"
minWidth=
"70"
mnemonicParsing=
"false"
onAction=
"#switchToAlbums"
text=
"ALBUMS"
textFill=
"white"
/>
<Button
fx:id=
"tbar_map"
minWidth=
"50"
mnemonicParsing=
"false"
onAction=
"#switchToMap"
text=
"MAP"
textFill=
"white"
/>
<HBox
alignment=
"CENTER_RIGHT"
prefHeight=
"100.0"
prefWidth=
"250.0"
>
<children>
<Button
fx:id=
"tbar_upload"
minWidth=
"70"
mnemonicParsing=
"false"
onAction=
"#switchToUpload"
prefHeight=
"25.0"
prefWidth=
"114.0"
text=
"UPLOAD"
textFill=
"white"
/>
</children>
</HBox>
</children>
</HBox>
</children>
</HBox>
<HBox
alignment=
"CENTER"
prefHeight=
"183.0"
prefWidth=
"1920.0"
spacing=
"20.0"
>
<children>
<ImageView
fx:id=
"tbar_logo"
fitHeight=
"69.0"
fitWidth=
"153.0"
onMouseClicked=
"#switchToMain"
pickOnBounds=
"true"
preserveRatio=
"true"
>
<image>
<Image
url=
"@../../Images/PlaceholderLogo.png"
/>
</image>
</ImageView>
<Pane
prefHeight=
"100.0"
prefWidth=
"343.0"
/>
<TextField
fx:id=
"tbar_search"
prefHeight=
"25.0"
prefWidth=
"358.0"
promptText=
"Search: Tags, Albums, Metadata, etc..."
/>
<Button
fx:id=
"tbar_searchBtn"
mnemonicParsing=
"false"
onAction=
"#switchToSearch"
text=
"SEARCH"
/>
<Button
fx:id=
"tbar_explore"
mnemonicParsing=
"false"
onAction=
"#switchToExplore"
text=
"EXPLORE"
/>
<Button
fx:id=
"tbar_albums"
mnemonicParsing=
"false"
onAction=
"#switchToAlbums"
text=
"ALBUMS"
/>
<Button
fx:id=
"tbar_map"
mnemonicParsing=
"false"
onAction=
"#switchToMap"
text=
"MAP"
/>
<Pane
prefHeight=
"100.0"
prefWidth=
"174.0"
/>
<Button
fx:id=
"tbar_upload"
mnemonicParsing=
"false"
onAction=
"#switchToUpload"
prefHeight=
"25.0"
prefWidth=
"114.0"
text=
"UPLOAD"
/>
<Text
fill=
"WHITE"
strokeType=
"OUTSIDE"
strokeWidth=
"0.0"
text=
"SEARCH:"
>
<font>
<Font
name=
"System Bold"
size=
"24.0"
/>
</font>
</Text>
<TextField
fx:id=
"search"
prefHeight=
"44.0"
prefWidth=
"664.0"
promptText=
"Search for your location"
>
<font>
<Font
size=
"18.0"
/>
</font>
</TextField>
<Button
fx:id=
"searchBtn"
mnemonicParsing=
"false"
onAction=
"#MapSearch"
prefHeight=
"44.0"
prefWidth=
"99.0"
text=
"SEARCH"
>
<font>
<Font
size=
"18.0"
/>
</font>
</Button>
</children>
</HBox>
<AnchorPane
minHeight=
"0.0"
minWidth=
"0.0"
prefHeight=
"183.0"
prefWidth=
"1918.0"
style=
"-fx-background-color: #888888;"
>
<children>
<HBox
alignment=
"CENTER"
prefHeight=
"183.0"
prefWidth=
"1920.0"
spacing=
"20.0"
AnchorPane.leftAnchor=
"0.0"
AnchorPane.rightAnchor=
"0.0"
>
<children>
<Text
strokeType=
"OUTSIDE"
strokeWidth=
"0.0"
text=
"SEARCH:"
>
<font>
<Font
name=
"System Bold"
size=
"24.0"
/>
</font>
</Text>
<TextField
fx:id=
"search"
prefHeight=
"44.0"
prefWidth=
"664.0"
promptText=
"Search for your location"
>
<font>
<Font
size=
"18.0"
/>
</font>
</TextField>
<Button
fx:id=
"searchBtn"
mnemonicParsing=
"false"
onAction=
"#MapSearch"
prefHeight=
"44.0"
prefWidth=
"99.0"
text=
"SEARCH"
>
<font>
<Font
size=
"18.0"
/>
</font>
</Button>
</children>
</HBox>
</children>
</AnchorPane>
<AnchorPane
minHeight=
"0.0"
minWidth=
"0.0"
prefHeight=
"797.0"
prefWidth=
"1920.0"
style=
"-fx-background-color: #888888;"
VBox.vgrow=
"ALWAYS"
>
<children>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment