Bug 124189 - Provide access to border options for formcontrols
Summary: Provide access to border options for formcontrols
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.2.1.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
 
Reported: 2019-03-18 23:33 UTC by peterpqa
Modified: 2019-04-10 08:36 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Writer text box form control border examples (16.35 KB, application/vnd.oasis.opendocument.text)
2019-03-18 23:33 UTC, peterpqa
Details
Writer text box form control border examples V2 (16.77 KB, application/vnd.oasis.opendocument.text)
2019-03-19 18:06 UTC, peterpqa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peterpqa 2019-03-18 23:33:25 UTC
Created attachment 150088 [details]
Writer text box form control border examples

For a text box form control, in Form>Control Properties...>Border, please add "bottom" or "underline" as an option. Please see "examples" attachment. Example #3 is a klugey workaround that would be much better with a "bottom" or "underline" border option.
Comment 1 Dieter 2019-03-19 07:39:06 UTC
For me "3D look" is a good solution to mark a placeholder for a text entry. Underline as an option would'nt look so good in the end I think, but let's ask design team
Comment 2 Heiko Tietze 2019-03-19 09:18:57 UTC
Regina, do we have such a property in ODF? If not I wonder if applying a character style which contains a border would solve the problem - but that seems also not possible for form controls.
Comment 3 peterpqa 2019-03-19 18:06:25 UTC
Created attachment 150104 [details]
Writer text box form control border examples V2
Comment 4 peterpqa 2019-03-19 18:12:36 UTC
My issue is how the form looks when printed out, as well as on-screen. A printed 3D-look text box form control looks the same as flat-border, still visually distracting and confusing. Please see my updated examples attachment. Underlined text in a no-frame box can leave big white spaces, also distracting and confusing. For me, a full-width underline looks best (Example 3). Thanks for checking into this.
Comment 5 Heiko Tietze 2019-04-02 08:01:01 UTC
(In reply to Heiko Tietze from comment #2)
> Regina, do we have such a property in ODF?

Polite ping
Comment 6 Regina Henschel 2019-04-02 12:23:42 UTC
(In reply to Heiko Tietze from comment #2)
> Regina, do we have such a property in ODF?

Yes. Currently the graphic attribute fo:border is used. It would be possible to use fo:border-bottom instead. A different problem is, whether it is possible to render such, if the form is active and not in edit mode.

 If not I wonder if applying a
> character style which contains a border would solve the problem - but that
> seems also not possible for form controls.

The font for the form control content is independent from the font of the paragraph. You can set a underline in the font options in the form control properties.

BTW, in case you want a fill-in-the-blank text, then I would expect an input-field or a place-holder field. Form controls are elements to connect to a data base or submit data to a server.
Comment 7 peterpqa 2019-04-02 19:15:02 UTC
I had not discovered input-fields. (Thanks, Regina.) They would be perfect for what I want, except...

It looks like they cannot be fixed-width. Or can they? I need fixed-width so the paragraphs in my form don't re-wrap, which would cause chaos.
Comment 8 Xisco Faulí 2019-04-09 12:57:55 UTC
@Heiko Tietze, what should we do with this issue ? it's in NEEDINFO status now...
Comment 9 Heiko Tietze 2019-04-10 08:36:35 UTC
Providing Regina's comment 6 we should introduce a button next to border (like we do for other options) that allows to tweak the border of form controls.