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
2c9ef112
Unverified
Commit
2c9ef112
authored
3 years ago
by
Nicolas Werner
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #947 from maltee1/search_button
Make search usable on mobile
parents
b124cdfc
c405edde
No related branches found
No related tags found
No related merge requests found
Pipeline
#2663
passed
3 years ago
Stage: build
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
resources/qml/QuickSwitcher.qml
+1
-1
1 addition, 1 deletion
resources/qml/QuickSwitcher.qml
resources/qml/RoomList.qml
+18
-0
18 additions, 0 deletions
resources/qml/RoomList.qml
resources/qml/TimelineRow.qml
+1
-1
1 addition, 1 deletion
resources/qml/TimelineRow.qml
with
20 additions
and
2 deletions
resources/qml/QuickSwitcher.qml
+
1
−
1
View file @
2c9ef112
...
@@ -13,7 +13,7 @@ Popup {
...
@@ -13,7 +13,7 @@ Popup {
property
int
textHeight
:
Math
.
round
(
Qt
.
application
.
font
.
pixelSize
*
2.4
)
property
int
textHeight
:
Math
.
round
(
Qt
.
application
.
font
.
pixelSize
*
2.4
)
background
:
null
background
:
null
width
:
Math
.
round
(
parent
.
width
/
2
)
width
:
Math
.
min
(
Math
.
max
(
Math
.
round
(
parent
.
width
/
2
)
,
450
),
parent
.
width
)
// limiting width to parent.width/2 can be a bit narrow
x
:
Math
.
round
(
parent
.
width
/
2
-
width
/
2
)
x
:
Math
.
round
(
parent
.
width
/
2
-
width
/
2
)
y
:
Math
.
round
(
parent
.
height
/
4
-
height
/
2
)
y
:
Math
.
round
(
parent
.
height
/
4
-
height
/
2
)
modal
:
true
modal
:
true
...
...
This diff is collapsed.
Click to expand it.
resources/qml/RoomList.qml
+
18
−
0
View file @
2c9ef112
...
@@ -673,6 +673,24 @@ Page {
...
@@ -673,6 +673,24 @@ Page {
}
}
}
}
ImageButton
{
visible
:
!
collapsed
Layout.fillWidth
:
true
hoverEnabled
:
true
ripple
:
false
width
:
22
height
:
22
image
:
"
:/icons/icons/ui/search.svg
"
ToolTip.visible
:
hovered
ToolTip.delay
:
Nheko
.
tooltipDelay
ToolTip.text
:
qsTr
(
"
Search rooms (Ctrl+K)
"
)
Layout.margins
:
Nheko
.
paddingMedium
onClicked
:
{
var
quickSwitch
=
quickSwitcherComponent
.
createObject
(
timelineRoot
);
quickSwitch
.
open
();
}
}
ImageButton
{
ImageButton
{
visible
:
!
collapsed
visible
:
!
collapsed
Layout.fillWidth
:
true
Layout.fillWidth
:
true
...
...
This diff is collapsed.
Click to expand it.
resources/qml/TimelineRow.qml
+
1
−
1
View file @
2c9ef112
...
@@ -48,7 +48,7 @@ Item {
...
@@ -48,7 +48,7 @@ Item {
property
bool
hovered
:
false
property
bool
hovered
:
false
width
:
parent
.
width
width
:
parent
.
width
height
:
childrenRect
.
height
height
:
row
.
height
+
(
reactionRow
.
height
>
0
?
reactionRow
.
height
-
2
:
0
)
Rectangle
{
Rectangle
{
color
:
(
Settings
.
messageHoverHighlight
&&
hovered
)
?
Nheko
.
colors
.
alternateBase
:
"
transparent
"
color
:
(
Settings
.
messageHoverHighlight
&&
hovered
)
?
Nheko
.
colors
.
alternateBase
:
"
transparent
"
...
...
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