using jedit the split pane resizes proportionally on one system and not on another - resize

I am using JEdit on two Ubuntu systems (12.4, 10.4) and having an issue with vertically-split window.
When I resize the whole JEdit window, two side-by-side split panes resize proportionally on one system (10.4) but on the other system the left pane stays a fixed size and all changes to overall window width get applied to only the right pane.
Both are JEdit v 4.4.2, both have only plugins: jdiff and buffertabs.
Is there a setting to turn weighting or proportional resize on?
Thanks!
UPDATE: This appears to be related to the JDiff plugin. The proportional resize stops working after you turn jdiff 'dual diff' on and then off. JDiff causes the panels to be set to equal sizes; when you turn off dual diff, the original proportions are restored but proportional resize is broken.

This indeed seems to be a bug in the JDiff plugin that changes some property of the SplitPane and doesn't restore it if there were splits before already. Maybe it shouldn't change that property after all, but use the same setting for proportional resizes. You should report this to the Plugin Bugs Tracker: https://sourceforge.net/tracker/?func=browse&group_id=588&atid=565475
As a work-around you can just unsplit and resplit the window, then the SplitPane is setup correctly again.

Related

Visual Studio 2010 # High DPI

I know this has been asked before but I will ask it again.
I'm having issues on my Visual Studio 2010 in a High DPI 1920x1080 display, I already tried the Registry Fixed but seems not to work. I know I'm using a very later version of VS but this is the only way to battle compatibility on lower version of Windows.
What method should I use? Should I switch to VS2015, or is there any other way around to fix this.
Design Time
Run Time
This isn't a DPI issue. Your buttons' Anchor property is set to Bottom, Right. This will cause them to follow the bottom of the form when it is resized. If the grid control below them is anchored to the top it will remain in the same position, but the buttons are moved over/away from it in order to always remain a certain distance from the bottom.
Set the Anchor for your buttons to Top, Right instead.

How to increase the gutter width in Intellij?

I am using Intellij Idea 14.1.3 on Mac OS X Yosemite 10.10.3. Often, while debugging, I want to introduce a break point by clicking on the left margin (called the 'gutter' in Intellij). The problem is that on many lines, there is no space to click. No matter how I try, the click happens on an icon already present ... which is not what I want to do. Attached a screenshot to show this
How can I increase the gutter width so that there is some empty space even where the little green override symbols are present?
It doesn't seem there is a way to configure the gutter size, it just resizes dynamically. I'd suggest raising an issue in the issue tracker.
As a workaround you can set a breakpoint on any line via the editor window. Set the caret on the line to stop at, and press ⌘+F8 (on a Mac).
This appears to be fixed in some future release of IntelliJ:
https://youtrack.jetbrains.com/issue/IDEA-137353#tab=History

how to resize or reposition controls based on screen resolutions in VB.NET

I making a Windows application with VS2010. Where i'm using panels to fight with different screen resolutions.
For some of my controls I used anchor property set to top,bottom without docking them to parent panel. when i run this program on the machine which is used to develop, result was as expected,But when i tried this one on different resolution its results were worse than expected. Some controls are partially displayed.
I found a solution here to this by re-sizing my controls based on screen resolutions. But that didn't worked for me as controls were re-sized but they were out of display area.
I couldn't relocate them based on resolution.
how would i set their position based on resolution.
or
i should assume minimum screen resolution (lets say 800*600) and program with this resolution.
Plz help!
I thought the solution was to use TableLayoutPanel and panels to do this.
I was bit right, but this doesn't work in all the cases.
Found a solution here https://stackoverflow.com/questions/2802015/....
Cheers..!

AutoScaling WinForm Display (Small, Medium)

First and foremost, please forgive me but my screenshots are in French due to my Windows installation at work. It is still very easy to understand though. I'll include screenshots to make it more visually appealing.
Here's some background information:
Windows 7 64bit
Visual Studio 2010
Default display is 100%
AutoScaleMode: DPI
AutoSize: True
My application is a windows form that was developped in a default (small - 100%) display. Like so:
As you can see, the "Petite" or Small display is the default selection.
Small Display - 100% (default)
Here is how my application looks with this setting. This is the correct display
Medium Display - 125%
The red rectangles point out the unwanted empty space.
I have tried:
Anchoring / Docking my controls such as my split containers, table layout panels, list views on Form_Load and via the UI. This didn't work.
Adding a split container to the form, and all controls respectively separated into it
Adding Table layout panels, where all textboxes and buttons are located in their respective cells
I really thought it was having a scaling problem because of the anchoring and docking. Although that didn't seem to be the problem ... What seems to be having trouble is the Tab Control and Listviews ...
Some users (most) have their settings as the default (100%) but there are a few who have it at a Medium setting, causing this scaling issue. Is there a way to fix this?
I cant see your screenshots or links for some reason so I cannot visualize the problem. If scaling is the problem, try setting AutoScaleMode to None.
I recently had to do this because my winform app was image intensive and it would not render correctly on Medium Settings because I built it using the default Small Settnigs display. Changing scale mode to None worked for me.
I fixed my issue by putting the tab controls and list views in a tablelayoutpanel. Everything that wasn't scaled properly had to be put inside a TableLayoutPanel. I kept my AutoScaleMode to DPI and AutoSize to True
Be sure to dock everything in their parent containers.
Here's the document outline for the more visual (like me):
Just click on the form and go to property pane. Find the Anchor element and click the dropdown. You click on all the lines in the square structure to become grey. Then click enter. Problem resolved.

Controls change place and form size changes

I have designed a form in VB.NET. At design time I have placed two buttons on it.
When I run it, the form size looks smaller and the buttons I have placed at the bottom are not visible. Also the alignment of the text and picture box is also different from what I set at design time.
Computer at which I am running the form is using a different resolution.
change the properties (F4) of the buttons: in ANCHOR put Bottom, Right
your buttons will be tied to the bottom and the right of the screen, instead of to the top, left, which is the default.
Grab the screen size at runtime with
Dim screen as System.Windows.Forms.Screen = System.Windows.Forms.Screen.PrimaryScreen
and using a scale factor depending on the current size (in design), scale the window to match. Check the coordinates of the buttons by hand to make sure they are not outside of the visible portion of the window.
You may not have to leave this feature in if you can debug it to the point that you know the exact resolution that you need.