amake / org_flutter

Org Mode widgets for Flutter
MIT License
18 stars 4 forks source link

Unable to fully display long title #12

Closed shelverizr closed 1 week ago

shelverizr commented 1 week ago
#+TITLE: very loooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong title

Screenshot_2024-11-05-10-40-40-905_com madlonkay orgro

amake commented 1 week ago

All "meta" lines (starting with #+foo:) do not line break and instead scroll horizontally. This is by design because they are usually not really part of the document content, but rather directives for how the content should behave or be processed.

I will think about whether it's worth treating #+title: differently.

shelverizr commented 1 week ago

All "meta" lines (starting with #+foo:) do not line break and instead scroll horizontally. This is by design because they are usually not really part of the document content, but rather directives for how the content should behave or be processed.

I will think about whether it's worth treating #+title: differently.

Please also consider #+filetags

shelverizr commented 1 week ago

All "meta" lines (starting with #+foo:) do not line break and instead scroll horizontally. This is by design because they are usually not really part of the document content, but rather directives for how the content should behave or be processed.

I will think about whether it's worth treating #+title: differently.

Just tried it on Orgro, can't slide the title.

amake commented 1 week ago

Oops, you're right, I was thinking of something else to which I've given similar treatment.

Currently you can ensure that meta lines are not truncated by disabling Reader Mode in Orgro. If you are consuming org_flutter directly, you should provide an OrgSettings object with deemphasizeMarkup set to false (such as OrgSettings.hideMarkup).

shelverizr commented 1 week ago

Oops, you're right, I was thinking of something else to which I've given similar treatment.

Currently you can ensure that meta lines are not truncated by disabling Reader Mode in Orgro. If you are consuming org_flutter directly, you should provide an OrgSettings object with deemphasizeMarkup set to false (such as OrgSettings.hideMarkup).

Tried disabling it. It's better.

amake commented 1 week ago

In org_flutter v7.10,

shelverizr commented 1 week ago

In org_flutter v7.10,

  • "Document info" meta lines are styled like in Emacs, are never truncated, and are never de-emphasized. This includes #+TITLE:; see M-x describe-face org-document-info-keyword.
  • Regular meta lines are scrollable when de-emphasized

Tried it and it works fine. Thanks