Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-qt
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
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
savoirfairelinux
jami-client-qt
Commits
06e9e91c
Commit
06e9e91c
authored
2 years ago
by
Aline Gondim Santos
Browse files
Options
Downloads
Patches
Plain Diff
modalTextEdit: hide placeholder when selected
GitLab:
#986
Change-Id: I4672ca2240a04a2a25780506750d0233b442aba5
parent
410a15a0
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
src/app/commoncomponents/MaterialTextField.qml
+3
-2
3 additions, 2 deletions
src/app/commoncomponents/MaterialTextField.qml
src/app/commoncomponents/ModalTextEdit.qml
+1
-1
1 addition, 1 deletion
src/app/commoncomponents/ModalTextEdit.qml
with
4 additions
and
3 deletions
src/app/commoncomponents/MaterialTextField.qml
+
3
−
2
View file @
06e9e91c
...
...
@@ -50,6 +50,7 @@ TextField {
placeholderTextColor
:
!
isActive
?
JamiTheme
.
transparentColor
:
JamiTheme
.
placeholderTextColor
property
string
initialPlaceholderText
property
alias
infoTipText
:
infoTip
.
text
...
...
@@ -105,7 +106,7 @@ TextField {
font.pointSize
:
root
.
font
.
pointSize
anchors.baseline
:
root
.
baseline
anchors.horizontalCenter
:
root
.
horizontalCenter
text
:
root
.
p
laceholderText
text
:
root
.
initialP
laceholderText
color
:
root
.
baseColor
visible
:
!
root
.
isActive
&&
!
readOnly
&&
root
.
text
.
toString
()
===
""
}
...
...
@@ -146,7 +147,7 @@ TextField {
font.pointSize
:
root
.
font
.
pointSize
-
3
anchors.top
:
baselineLine
.
bottom
anchors.topMargin
:
2
text
:
root
.
p
laceholderText
text
:
root
.
initialP
laceholderText
color
:
root
.
baseColor
// Show the alternate placeholder while the user types.
...
...
This diff is collapsed.
Click to expand it.
src/app/commoncomponents/ModalTextEdit.qml
+
1
−
1
View file @
06e9e91c
...
...
@@ -92,7 +92,7 @@ Loader {
font.pointSize
:
root
.
fontPointSize
font.bold
:
root
.
fontBold
echoMode
:
root
.
echoMode
p
laceholderText
:
root
.
placeholderText
initialP
laceholderText
:
root
.
placeholderText
onAccepted
:
root
.
accepted
()
onTextChanged
:
dynamicText
=
text
text
:
staticText
...
...
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