Coder Social home page Coder Social logo

Retina 200% about substance HOT 5 CLOSED

plingsi avatar plingsi commented on May 24, 2024
Retina 200%

from substance.

Comments (5)

kirill-grouchnikov avatar kirill-grouchnikov commented on May 24, 2024

Brevity is not very friendly for bug reports.

What is the version of Substance / Flamingo that you're using?
What OS version you're running?
What Java version you're running?
What exactly is Hi DPI 200%?
What is "task menu is behind"?

Also, to make things much easier I'd need to see the complete standalone code for this bug report.

from substance.

plingsi avatar plingsi commented on May 24, 2024

Sorry for my short post!
I am using the latest builds from drop on Windows 10 with JDK jdk1.8.0_77. My screen resolution is 2880 x 1800 with a scaling factor of 200% (Recomended by Windows). As you can see in the Picture from the first post the "Task" height should be larger. The code is as follows:

private void createRibbon() {
JRibbonBand[] homeBandArray = new JRibbonBand[1];
JRibbonBand mouse = new JRibbonBand("Band", new EmptyResizableIcon(16));
mouse.setResizePolicies(CoreRibbonResizePolicies.getCorePoliciesNone(mouse));
mouse.startGroup();
JCommandToggleButton button = new JCommandToggleButton("Button", ImageWrapperResizableIcon.getIcon(getClass().getResource("/images/ribbonbar/length.png"), new Dimension(64, 64)));
mouse.addCommandButton(button, RibbonElementPriority.TOP);
homeBandArray[0] = mouse;
RibbonTask home = new RibbonTask("Task", homeBandArray);
this.getRibbon().addTask(home);
}

Regards,
Erling

from substance.

kirill-grouchnikov avatar kirill-grouchnikov commented on May 24, 2024

Ah yes. I see it now.

from substance.

kirill-grouchnikov avatar kirill-grouchnikov commented on May 24, 2024

Also see kirill-grouchnikov/flamingo#2

from substance.

kirill-grouchnikov avatar kirill-grouchnikov commented on May 24, 2024

This particular issue should be addressed in the latest prebuilts of Flamingo and Substance Flamingo plugin (you'll need both). The rest of the work will be done a bit later in February / March as part of the other issue.

from substance.

Related Issues (20)

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.