https://bugs.documentfoundation.org/show_bug.cgi?id=159562

Heiko Tietze <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
                 CC|libreoffice-ux-advise@lists |heiko.tietze@documentfounda
                   |.freedesktop.org            |tion.org
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=13
                   |                            |2408
           Keywords|needsUXEval                 |
                 OS|Windows (All)               |All
           Severity|minor                       |enhancement
             Status|UNCONFIRMED                 |NEW
             Blocks|                            |103270

--- Comment #5 from Heiko Tietze <[email protected]> ---
And if "[x] Relative" is checked a string like "10 cm" makes it an absolute
parameter? And how about inch, km, px, foo... I proposed some kind of unit
switch control-side in bug 72662 but this dialog is a bit of a stretch.

We could also just not accept invalid input (units, comma, separators...), or
have an extra spin edit for this type like

Width: (o) absolute [    ] cm
       ( ) relative [    ] %
           to [Entire paragraph area]

But since absolute and relative values are converted when clicking the '[ ]
Relative to' option, I can follow the idea of auto-checking if % is part of the
string. If the checkbox is checked a plain value would be treated as percent,
any other text (2cm, 5in, 7foo) makes it an absolute value, ie. the '[ ]
Relative to' is automatically unchecked.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103270
[Bug 103270] [META] Image/Picture dialog bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to