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
f3ecef5c
Commit
f3ecef5c
authored
2 years ago
by
foxb612
Browse files
Options
Downloads
Patches
Plain Diff
Fix UploadBox thumbnail size
parent
ccd24650
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#3845
passed
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/qml/UploadBox.qml
+3
-2
3 additions, 2 deletions
resources/qml/UploadBox.qml
with
3 additions
and
2 deletions
resources/qml/UploadBox.qml
+
3
−
2
View file @
f3ecef5c
...
...
@@ -48,8 +48,8 @@ Page {
Layout.fillHeight
:
true
Layout.fillWidth
:
true
sourceSize.height
:
height
sourceSize.width
:
w
idth
sourceSize.height
:
parent
.
availableHeight
-
namefield
.
height
sourceSize.width
:
parent
.
availableW
idth
fillMode
:
Image
.
PreserveAspectFit
smooth
:
true
mipmap
:
true
...
...
@@ -63,6 +63,7 @@ Page {
source
:
(
modelData
.
thumbnail
!=
""
)
?
modelData
.
thumbnail
:
(
"
image://colorimage/:/icons/icons/ui/
"
+
typeStr
+
"
.svg?
"
+
Nheko
.
colors
.
buttonText
)
}
MatrixTextField
{
id
:
namefield
Layout.fillWidth
:
true
text
:
modelData
.
filename
onTextEdited
:
modelData
.
filename
=
text
...
...
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