Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mappevurderingprog2
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Tam Minh Le
mappevurderingprog2
Merge requests
!51
Added a css folder
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Added a css folder
cssFolder
into
dev
Overview
0
Commits
1
Pipelines
0
Changes
4
Merged
Edvard Granheim Harbo
requested to merge
cssFolder
into
dev
1 year ago
Overview
0
Commits
1
Pipelines
0
Changes
4
Expand
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
ebfed8d8
1 commit,
1 year ago
4 files
+
44
−
13
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/main/java/edu/ntnu/idatt2003/mappevurderingprog2/views/components/ExtraUserOptions.java
+
7
−
4
Options
@@ -78,17 +78,20 @@ public class ExtraUserOptions extends VBox {
this
.
downButton
=
new
Button
(
"Down"
);
this
.
leftButton
=
new
Button
(
"Left"
);
this
.
rightButton
=
new
Button
(
"Right"
);
getStylesheets
().
add
(
getClass
().
getResource
(
"/edu/ntnu/idatt2003/mappevurderingprog2/styles/extraUserOptions.css"
).
toExternalForm
());
this
.
getStyleClass
().
add
(
"extra-user-options"
);
setupZoomButtons
();
extraUserOptionsLabel
();
Label
rotationLabel
=
new
Label
(
"Rotate the view"
);
rotationLabel
.
s
etStyle
(
"-fx-font-size: 14px; -fx-font-weight: bold;
"
);
rotationLabel
.
g
etStyle
Class
().
add
(
"rotation-label
"
);
Label
zoomLabel
=
new
Label
(
"Zoom"
);
zoomLabel
.
s
etStyle
(
"-fx-font-size: 14px; -fx-font-weight: bold;
"
);
zoomLabel
.
g
etStyle
Class
().
add
(
"zoom-label
"
);
Label
navigateLabel
=
new
Label
(
"Navigate"
);
navigateLabel
.
s
etStyle
(
"-fx-font-size: 14px; -fx-font-weight: bold;
"
);
navigateLabel
.
g
etStyle
Class
().
add
(
"navigate-label
"
);
HBox
zoomControls
=
new
HBox
(
zoomOutButton
,
zoomInButton
);
zoomControls
.
setAlignment
(
Pos
.
CENTER
);
@@ -213,7 +216,7 @@ public class ExtraUserOptions extends VBox {
* Applies styling properties to the extra user options panel.
*/
private
void
extraUserOptionsStyling
()
{
s
etStyle
(
"-fx-background-color: #eed9c4;
"
);
this
.
g
etStyle
Class
().
add
(
"extra-user-options
"
);
}
/**
Loading