Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Nheko Reborn
nheko
Commits
c2faaa4d
Commit
c2faaa4d
authored
6 years ago
by
Konstantinos Sideris
Browse files
Options
Downloads
Patches
Plain Diff
Add the correct parent to scaleCombo
parent
4865f852
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+11
-0
11 additions, 0 deletions
CHANGELOG.md
src/UserSettingsPage.cpp
+7
-12
7 additions, 12 deletions
src/UserSettingsPage.cpp
with
18 additions
and
12 deletions
CHANGELOG.md
+
11
−
0
View file @
c2faaa4d
...
...
@@ -2,6 +2,17 @@
## [Unreleased]
## [0.6.2] - 2018-10-06
### Features
-
Display tags as sorting items in the community panel (#401 @vberger)
-
Add ability to configure the font size.
### Improvements
-
Don't enable tray by default.
-
Remove room re-ordering option.
-
Hard-coded pixel values were removed. The sizes are derived from the font.
## [0.6.1] - 2018-09-26
### Improvements
...
...
This diff is collapsed.
Click to expand it.
src/UserSettingsPage.cpp
+
7
−
12
View file @
c2faaa4d
...
...
@@ -200,18 +200,14 @@ UserSettingsPage::UserSettingsPage(QSharedPointer<UserSettings> settings, QWidge
auto
scaleFactorOptionLayout
=
new
QHBoxLayout
;
scaleFactorOptionLayout
->
setContentsMargins
(
0
,
OptionMargin
,
0
,
OptionMargin
);
auto
scaleFactorLabel
=
new
QLabel
(
tr
(
"Scale factor
(requires restart)
"
),
this
);
auto
scaleFactorLabel
=
new
QLabel
(
tr
(
"Scale factor"
),
this
);
scaleFactorLabel
->
setFont
(
font
);
scaleFactorCombo_
=
new
QComboBox
(
this
);
scaleFactorCombo_
->
addItem
(
"1"
);
scaleFactorCombo_
->
addItem
(
"1.25"
);
scaleFactorCombo_
->
addItem
(
"1.5"
);
scaleFactorCombo_
->
addItem
(
"1.75"
);
scaleFactorCombo_
->
addItem
(
"2"
);
scaleFactorCombo_
->
addItem
(
"2.25"
);
scaleFactorCombo_
->
addItem
(
"2.5"
);
scaleFactorCombo_
->
addItem
(
"2.75"
);
scaleFactorCombo_
->
addItem
(
"3"
);
for
(
double
option
=
1
;
option
<=
3
;
option
+=
0.25
)
scaleFactorCombo_
->
addItem
(
QString
::
number
(
option
));
scaleFactorOptionLayout
->
addWidget
(
scaleFactorLabel
);
scaleFactorOptionLayout
->
addWidget
(
scaleFactorCombo_
,
0
,
Qt
::
AlignRight
);
auto
fontSizeOptionLayout
=
new
QHBoxLayout
;
fontSizeOptionLayout
->
setContentsMargins
(
0
,
OptionMargin
,
0
,
OptionMargin
);
...
...
@@ -319,10 +315,9 @@ UserSettingsPage::UserSettingsPage(QSharedPointer<UserSettings> settings, QWidge
#if defined(Q_OS_MAC)
scaleFactorLabel
->
hide
();
scaleFactorCombo_
->
hide
();
#else
mainLayout_
->
addLayout
(
scaleFactorOptionLayout
);
#endif
mainLayout_
->
addLayout
(
scaleFactorOptionLayout
);
mainLayout_
->
addLayout
(
fontSizeOptionLayout
);
mainLayout_
->
addWidget
(
new
HorizontalLine
(
this
));
mainLayout_
->
addLayout
(
themeOptionLayout_
);
...
...
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