i have button links view control. trying change text of button segmented control. using jared davidson tutorial on segmented controls changing text of labels . how change text of button? also, when attempted japanese characters, got error on line: "invalid character in source file". thank you! you can change button title japanese characters way: yourbutton.settitle("ボタンのタイトル", forstate: uicontrolstate.normal)
here's current code creating index jsonb. index("mytable_data_idx_id_key", mytable.data['id'].astext, postgresql_using='gin') but got error. sqlalchemy.exc.programmingerror: (psycopg2.programmingerror) data type text has no default operator class access method "gin" hint: must specify operator class index or define default operator class data type. [sql: "create index event_data_idx_id_key on event using gin ((data ->> 'id'))"] is there way create index on sqlalchemy? the postgresql specific sqlalchemy docs @ http://docs.sqlalchemy.org/en/latest/dialects/postgresql.html#operator-classes mention postgresql_ops dictionary provide "operator class" used postgresql, , provide example illustrating use: index('my_index', my_table.c.id, my_table.c.data, postgresql_ops={ 'data': 'text_pattern_ops', ...
say have multiple objects selected on fabric.js canvas , can group of objects using getactivegroup. can provide example of how copy , paste group new group, where: (a) each object in copied group retains relative position other copied objects (b) copied group whole positioned @ specified x,y position (c) copied group objects selected group after paste, if selection cleared treated individual objects on canvas i have tried pasting cloning , adding cloned group this: canvas.getactivegroup().clone(function(clone) { clone.left = 100; clone.top = 100; canvas.add(clone); canvas.deactivateall(); canvas.setactivegroup(clone).renderall(); }); now after code run cloned group objects seem added, positioned , selected ok, click canvas clear selection cloned group objects jump different spot on canvas. cloned objects not individually selectable , selection location out of sync new object location. anyways i'm sure i'm missing i'm not sure what. ap...
Comments
Post a Comment