Synfig Issue Tracker
star_faded.png
Please log in to bookmark issues
enhancement_small.png
OPEN  Enhancement #611  -  Expansion unit in Rectangle Tool Options Panel
Posted Mar 21, 2014 - updated Jan 05, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Enhancement
  • Status
     
    Being worked on
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Yu Chen
  • Owned by
    Not owned by anyone
  • Time spent
    1 hour
  • Category
    User interface
  • Resolution
    Not determined
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png 1.0
  • Tags
    icon_customdatatype.png Not determined
  • Difficulty
    icon_customdatatype.png Not determined
Issue description
Currently, expansion option of a rectangle layer of Rectangle Tool is using synfig unit, and there is not unit symbol attached after the value,it we can provide one and make it following the unit defined by preferences setup, it will much easier for a user to understand this feature.

#1
Comment posted by
 Yu Chen
Mar 21, 04:52
Replaced Gtk::Adjustment and Gtk::SpinButton with Widget_Entry, now it uses pt (point) as its unit.

Todo: figure out how to make the unit changeable so that it would following the setting from Preferences -> Unit System.

This should be applied to other similar widget such as Feather option.
#3
Comment posted by
 Konstantin Dmitriev
icon_reply.pngMar 21, 05:27, in reply to comment #1


Yu Chen wrote:
Replaced Gtk::Adjustment and Gtk::SpinButton with Widget_Entry, now it uses
pt (point) as its unit.


I might be wrong, but Gtk::Adjustment / Gtk::SpinButton can use suffix for value. For example it is done like this when you edit parameter in the Params Panel.
#4
Comment posted by
 Yu Chen
icon_reply.pngMar 21, 07:11, in reply to comment #3


I might be wrong, but Gtk::Adjustment / Gtk::SpinButton can use suffix for
value. For example it is done like this when you edit parameter in the
Params Panel.
Yes, user can key a value and suffix after it: 10pt, 10u, both work in this case.

But for options panel, If the unit system is setup to pt, for example, the expansion is set to 1.000 and the expansion parameter of the result layer will be in 1ux60 = 60pt.
#5
Comment posted by
 Konstantin Dmitriev
icon_reply.pngMar 21, 07:13, in reply to comment #4
I mean: we can use the same approach as in the Param Panel.