Changed the place of minimum size request of messages
and selectors dialog to their content-displaying children.
This is done to still ensure they are wide enough for the
content to be legible but now also allow resizing of the
sidebar below the minimum width of the contained dialogs,
should the dialog be closed.
This was not possible before and mirrors the behaviour of
other dialogs with a non-standard min. width.
4117220...
by
VaibhavMalik4187 <email address hidden>
Fix star toolbar GTK4 port regressions
This commit addresses two regressions introduced during the GTK4 port
of the star toolbar:
- Fixed magnitude value reset: Resolved a minor typo that caused the
magnitude values to reset to 2 or 3 whenever an object was created.
- Spoke Ratio Label Visibility: This fix ensures that changing modes in
the star toolbar doesn't cause only the spoke ratio spin button to be
hidden, while leaving the spoke ratio label visible. This improves
the clarity of the UI and prevents confusion.
Change PDF text import to use the 'dx' and 'dy' attributes.
This replaces the use of 'x' and 'y' attributes to position individual glyphs.
It allows the user to edit the exiting text without overwriting other characters.
Also changed:
- Update the "expected" files for PDF text import tests.
- Separate out code that creates <text> elements from code that creates <path> elements.
There is little overlap between the two paths and having them in the same function made
the code overly complicated and difficult to follow.
- Make FontData::getSpecification() return a more complete specification and use that
to determine if the font style has changed. Also change the 'font_specification' variable
to use a std::string. This reduces the number of <tspan>s created.
- Create a new line of text (<tspan>) if the there is a shift of more than 0.1 of the font size.
- Set text direction on <text> element (if vertical).