Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
verona-modules-aspect
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
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
IQB
verona-modules-aspect
Commits
cc1b021f
Commit
cc1b021f
authored
3 years ago
by
jojohoch
Browse files
Options
Downloads
Patches
Plain Diff
Use fixed size property for text-field component
parent
88d8560e
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
docs/release-notes-player.txt
+1
-1
1 addition, 1 deletion
docs/release-notes-player.txt
projects/common/ui-elements/text-field/text-field.component.ts
+5
-2
5 additions, 2 deletions
...cts/common/ui-elements/text-field/text-field.component.ts
with
6 additions
and
3 deletions
docs/release-notes-player.txt
+
1
−
1
View file @
cc1b021f
Player
Player
======
======
1.12.0
1.12.0
- Use fixed size property button
and
drop-list components
- Use fixed size property
dynamic
button
,
drop-list
and text-field
components
- Prevent scrollbars for static buttons with images
- Prevent scrollbars for static buttons with images
- Fix the playability of dependent audios and videos
- Fix the playability of dependent audios and videos
- Fix storing/restoring of the playback time of audios and videos
- Fix storing/restoring of the playback time of audios and videos
...
...
This diff is collapsed.
Click to expand it.
projects/common/ui-elements/text-field/text-field.component.ts
+
5
−
2
View file @
cc1b021f
...
@@ -9,8 +9,10 @@ import { TextFieldElement } from './text-field-element';
...
@@ -9,8 +9,10 @@ import { TextFieldElement } from './text-field-element';
selector
:
'
app-text-field
'
,
selector
:
'
app-text-field
'
,
template
:
`
template
:
`
<mat-form-field *ngIf="elementModel.label !== ''"
<mat-form-field *ngIf="elementModel.label !== ''"
[style.width.%]="100"
[class.center-content]="elementModel.positionProps.dynamicPositioning &&
[style.height.%]="100"
elementModel.positionProps.fixedSize"
[style.width]="elementModel.positionProps.fixedSize ? elementModel.width + 'px' : '100%'"
[style.height]="elementModel.positionProps.fixedSize ? elementModel.height + 'px' : '100%'"
[style.color]="elementModel.fontProps.fontColor"
[style.color]="elementModel.fontProps.fontColor"
[style.font-family]="elementModel.fontProps.font"
[style.font-family]="elementModel.fontProps.font"
[style.font-size.px]="elementModel.fontProps.fontSize"
[style.font-size.px]="elementModel.fontProps.fontSize"
...
@@ -67,6 +69,7 @@ import { TextFieldElement } from './text-field-element';
...
@@ -67,6 +69,7 @@ import { TextFieldElement } from './text-field-element';
</mat-form-field>
</mat-form-field>
`
,
`
,
styles
:
[
styles
:
[
'
.center-content {display: block; margin: auto; top: 50%; transform: translateY(-50%);}
'
,
'
::ng-deep app-text-field .small-input div.mat-form-field-infix {border-top: none; padding: 0.55em 0 0.25em 0;}
'
// TODO
'
::ng-deep app-text-field .small-input div.mat-form-field-infix {border-top: none; padding: 0.55em 0 0.25em 0;}
'
// TODO
]
]
})
})
...
...
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