Sticky note implementation
-
Is this possible? Any tips please?
NOTE: chars will be limited to 20 to prevent too long and multiline text.
-
@resonant Yep it's possible.
- the sticky note could be a panel with
allowDragging
enabled and setDraggingBounds to your taste - The modal window is just a panel with a label and 2 buttons that is showing at the same time you show the panel.
- Redraw the draggable panel using the label value from the modal
- the sticky note could be a panel with
-
I've implemented this but preset saving for the label text and panel position is not working.
HiseSnippet 1601.3ocsXssaaaDDkz1LMToIMtWdmPOQC33H4KooMnsxR1pPMw1pQttMHIHXE4JpElZWAxU1VMv.4k9e0Ol9Az+fzY2kTboDk7EzvGDDmc1gyblyL6P1Nh4giiYQFl1GOdH1v7ys5Llx62nOhPMZsmg4crjKTe7PTbL12vzb4eVrlo8JFxq+8mpiBQTOblHCiSXDO7KHCH7Losq8bRXXSjO9Xx.Ms2tVKOFsAKjMB7ikspXLD4cJJ.eHRn1RVfSruOgyh5vQbbrg4J0Y9i6zmcNUo+IjXR2Pr3lpFc.CoD2jE5K7XgTiF8Ig9sSi2XCvJsyh9kUQ+Wac.wmLQdFJ7P4BNY6PGOLWJu6sbN2qpt6UQy8JvkL0boUTtzpVc7hHC4YqH7m6Y0hxwQ8Pd4SMJcMV5etqUCFnAkuw.zo3lQvMS1g6SpTYcG3m0dVI3B.+XtyYnHmXNw6zwuna3ALeTnyO3jZi.LuAavPFEtwsbd0JCVo.SbBJrEMDyuZqjpYYk673G6zQtjSaDEGVjsaS0cNjuuTSMSBJTdcmpas05NatyNfcS0MFK.xg3HNAGCnxfeoyQGNyFee4yI979k+dmpaWYC.qJ2GSB5yAAaotmvwCTLVPVdAalHoKKxGG0g7mXgfMxD8RjOYTbpvRkiQmgaQaGgAmCjxiFgAcQggry2KBEDPnAf3xUKmJsA7aWnDQXix6FF5jIv4RIHpGOxXF3w7WxFwITrauQTONgQcCVqz6sKYGrQOntDriakKZ1rwSaz7I6t1yjKDKxXhfRtTU4E7.RWqISjH2Mhfjv81vtbbbDK5GgNe2PR.E6eL9BPIAY14UfkbD2CZ+5c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SOuh+DGC6jilg2uMIfHmgrcwmyE.2ndYBSYwd1d.p8HsipWkAxGNYjlHTNeinoziit3wwv9KGDbJLuiSiZ0g+9hHk1mFJ2TPvSAmVkHDds+L0J8ReL+hNXOOHx4lZWWHn1cXarPeqFkYZAGvEwDRdIoAA4kjPUWSZ4qxkx7pqxmx7lyZYlib2abKAoYG+xPirieablCrpy+IbAYoX00MStBrNgOeMgFYxcuybJ3VzUCLSdejYgoGMsBwy6r8l814lTKBc82D5A1Gv8lDfkYehJ06xEK.xIy7tPp29AhYkWZ9tc+i8tU2TW7g1cnR2gE6iKTfOBcy8ugOF+Ze22dmACHtxTGbI6c+t+cdZOj9sQ7O.KETH7vFpTzEp55RfuNChyUcfasfpWY835pwJFnKg4EM3OfehE1PM1JVXiDgnQXWA+kt5NrUum3cilA7IVzSoVx9.0XmFIsTaaWuVczH3btW55pf+m.waEaSyagMO9VXyp2BadxsvlmdKrYsagMqOWaTsXr4DIejNc.lnyNQm.aYsSTOHQQgn+DTVgfuN
-
@ustk Many Thanks!
The labels can be saved but this time, the label position can not being saved.
-
@resonant Oh yes I haven't implemented this, let me see...
-
@resonant here you go
HiseSnippet 2024.3ocyXstaibaEdFaOMQJYaR.RKBP+CgP.pDhiVIsdWauAMQVx1INquHXocaAVDjPMCkDgGQpvgx1JKLvh9nz+j9XTj9nzWf9FjbH4LZ3HORwwHAs9G1lmKbNema7P1Qv8IQQbgiagdylPbbeautyXxQsGgoLmi12w8AdckT+KlcLtOIzo0rI3nHRfiq65etRD2Ba3n+4+9YsvgXlOIkjiyK3TexwzwTYJ0NMeFML7Pb.oGcrkza07HeNqMOjOELm08p4LA6eAdH4TrRr07bb+cGDPkbQWIVRhbb2nEOXV2Q7qXF4eAMh1OjnVT2oKrQFxGxCCTVrhpS6QzvfNIvNxA1kNoNg0MNg226DZ.cN8Tmw6pYfR0v1e3tVVya8LlWcayqlk4kiI4ZYRaXLo2yqqufNQlxQYOuk2QLIQL.CtcaSwHqyZ+mBds4fDLY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