Openbravo Issue Tracking System - POS2
View Issue Details
0055287POS2POSpublic2024-04-22 19:192024-04-23 09:58
Triage Platform Base 
normalminorhave not tried
0055287: Incremental Input with expectedValue may be inconsistently aligned
Right now, Incremental Input is supported with standard size. ( height : 5.6 rem )

Label and ExpectedValue inside BaseFormInput are displaced relatively to the Value inside with the following CSS rule:

transform: translate(-1.5rem, 0.85rem);

But this solution could be inconsistent when Incremental Input change his size or some styling rules are inherited from a current IncrementalInput used in POS2 and the input and expectedValue could be misaligned. ( i.e: In portrait Mode, incrementalInput size could be smaller )

InputAdornment is another case to avoid the padding when there is no ClearInput or AddtitionalButtons on the right side of the BaseFormInput.
Avoid the use of transform relative from the Input Value, and change it with a consistent alignment from the parent.

Buttons "+" and "-" on both sides should scale its size depending on the height defined.
No tags attached.
related to feature request 0055154 closed ablasco Incremental Input Improvements 
png Screenshot from 2024-04-22 19-16-19.png (2,708) 2024-04-22 19:19
Issue History
2024-04-22 19:19ablascoNew Issue
2024-04-22 19:19ablascoAssigned To => Triage Platform Base
2024-04-22 19:19ablascoFile Added: Screenshot from 2024-04-22 19-16-19.png
2024-04-22 19:19ablascoTriggers an Emergency Pack => No
2024-04-23 09:45ablascoRelationship addedrelated to 0055154
2024-04-23 09:58ablascoProposed Solution updated

There are no notes attached to this issue.