Giter VIP home page Giter VIP logo

tabbedview2's Introduction

TabbedView2

A Quark for the SuperCollider Programming Language

A feature rich tabbing view.

tabbedview2's People

Contributors

jmuxfeldt avatar crucialfelix avatar

Watchers

 avatar

tabbedview2's Issues

[suggestion] add function to change label name

There's currently no set function for .label, only a get function. I added this to my extensions and it seems to work ok:

  • TabbedViewTab{
    label_{ arg name;
    label= name;
    tabbedView.refresh();
    }
    }

I don't know how to make pull requests (yet) so hope it's ok that I just put it here.

Adding tab at index strange behavior

Hi,

when specifying an index to add a new tab it adds itself at the right place but clicking around on the tabs in the GUI afterwards gives some strange behavior. Clicking tabs before and including the inserted index selects it as normal but clicking a tab at an index after the inserted tab selects the tab at an index-1. Dragging any tab and releasing it or adding a new tab without specifying an index seems to set it back to normal behavior.

This is only an issue with TabbedView2, not TabbedView. Tested on MacOS and Windows with QT.

To reproduce:

(
w= Window("tabs", Rect(0, 0, 600, 300)).front;
t= TabbedView2(w, Rect(20, 50, 550, 300));
t.add("tab1");
t.add("tab2");
t.add("tab3");
t.add("tab4");
t.add("tab5");
t.add("tab6");
t.add("tab7");
t.add("tab8");
t.add("tab9");
t.add("tabInsert", 4); // add "tabInsert" at index 4
)

Also, thanks a lot for this quark, I use it a lot :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.