Bookmark - Properties - "Description" edit control size

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Robby

Bookmark - Properties - "Description" edit control size

Unread post by Robby » 2020-11-06, 05:01

About Bookmark - Context-menu Properties,
It would be real nice to have the vertical size of the "description edit control" adjusted in concordance with the height of the dialog.
(Under Windows, using the good old WM_SIZE.)

Also, like the dialog position, the size of the dialog could be kept for later uses...

In any way, I must say that this "Properties" is real useful to me, the best place to put personal notes about web sites.

Regards,

Robby

User avatar
RealityRipple
Astronaut
Astronaut
Posts: 659
Joined: 2018-05-17, 02:34
Location: Los Berros Canyon, California
Contact:

Re: Bookmark - Properties - "Description" edit control size

Unread post by RealityRipple » 2020-11-06, 09:54

The correct way to accomplish this would be an extension with an override of "chrome://browser/content/places/editBookmarkOverlay.xul" to an identical copy, with the addition of a flex="1" attribute on the "editBMPanel_descriptionRow" row. Unfortunately XUL's Flex attribute can't be controlled by CSS as far as I know, so a userChrome.css entry probably won't cut it here.

Off-topic:
Also, Pale Moon is a platform-agnostic product. Proprietary Windows APIs and Consts are the wrong language to be talking in.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35602
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Bookmark - Properties - "Description" edit control size

Unread post by Moonchild » 2020-11-06, 10:07

Or, you know, make an issue and pull request to have it changed in the application code...
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked