Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
glacier-home
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
NemoMobile
glacier-home
Commits
e5c0a690
Commit
e5c0a690
authored
Sep 24, 2017
by
eekkelund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Keyboard] Make keyboard to rotate when homescreen rotates.
parent
08101d26
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
SearchListView.qml
src/qml/applauncher/SearchListView.qml
+10
-1
compositor.qml
src/qml/compositor.qml
+1
-0
No files found.
src/qml/applauncher/SearchListView.qml
View file @
e5c0a690
...
...
@@ -48,7 +48,6 @@ Item {
onPressed
:
cleanup
()
}
function
cleanup
(){
searchField
.
focus
=
false
appLauncher
.
searchString
=
""
...
...
@@ -59,6 +58,12 @@ Item {
searchListView
.
visible
=
false
;
}
}
onVisibleChanged
:
{
if
(
visible
){
searchField
.
forceActiveFocus
()
}
else
searchField
.
focus
=
false
oldHeight
=
height
}
function
calculateHeight
()
{
...
...
@@ -127,7 +132,11 @@ Item {
value
:
searchField
.
text
.
toLowerCase
().
trim
()
}
onTextChanged
:
{
<<<<<<<
HEAD
:
src
/
qml
/
applauncher
/
SearchListView
.
qml
if
(
searchField
.
lenght
>
0
)
{
=======
if
(
text
.
lenght
>
0
)
{
>>>>>>>
2
aeaeb0
...
[
Keyboard
]
Make
keyboard
to
rotate
when
homescreen
rotates
.:
src
/
qml
/
SearchListView
.
qml
searchField
.
forceActiveFocus
()
}
}
...
...
src/qml/compositor.qml
View file @
e5c0a690
...
...
@@ -75,6 +75,7 @@ Compositor {
onSensorOrientationChanged
:
{
screenOrientation
=
sensorOrientation
contentOrientation
=
screenOrientation
}
Connections
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment