| View previous topic :: View next topic |
| Author |
Message |
predprey Master Cheater
Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Tue Aug 30, 2016 11:40 pm Post subject: [REQUEST] Memory View Form Stacktrace Panel Resize Behavior |
|
|
Can I request a change to how the anchoring for the stacktrace panel works?
Problem:
- Currently, when resizing the width of the memory viewer, the register panel's width stays constant but the stacktrace's panel lengthens with the form.
- This feels counterintuitive when trying to adjust the width of the hexview panel.
- This adds superflous need to manually resize the stacktrace panel after resizing the memory viewer form.
I suggest:
1. Anchoring the hexview's panel to the stacktrace panel.
2. Making the stacktrace's panel width fixed when resizing.
Thank you
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4719
|
Posted: Wed Aug 31, 2016 10:22 am Post subject: |
|
|
Show the debug panels and execute this Lua code:
| Code: | getMemoryViewForm().Panel3.Align = "alClient"
getMemoryViewForm().pnlStacktrace.Align = "alRight"
getMemoryViewForm().splitter3.Align = "alRight"
getMemoryViewForm().splitter3.ResizeAnchor = "akRight" |
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
predprey Master Cheater
Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Wed Aug 31, 2016 10:23 am Post subject: |
|
|
| ParkourPenguin wrote: | Show the debug panels and execute this Lua code:
| Code: | getMemoryViewForm().Panel3.Align = "alClient"
getMemoryViewForm().pnlStacktrace.Align = "alRight"
getMemoryViewForm().splitter3.Align = "alRight"
getMemoryViewForm().splitter3.ResizeAnchor = "akRight" |
|
thanks, i was thinking it should be incorporated in the official build.
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4719
|
Posted: Wed Aug 31, 2016 10:29 am Post subject: |
|
|
Seems like DB explicitly implemented this behaviour:
| Code: | procedure TMemoryBrowser.setShowDebugPanels(state: boolean);
begin
if state then
begin
//resizing should change the stack, not the hexview
panel3.Align:=alLeft;
splitter3.Align:=alLeft;
pnlStacktrace.align:=alclient;
splitter3.ResizeControl:=pnlStacktrace;
end
... |
I guess I like this the way it is now, but since I don't resize the form that often, I don't really care.
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
predprey Master Cheater
Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Wed Aug 31, 2016 10:47 am Post subject: |
|
|
| ParkourPenguin wrote: | Seems like DB explicitly implemented this behaviour:
| Code: | procedure TMemoryBrowser.setShowDebugPanels(state: boolean);
begin
if state then
begin
//resizing should change the stack, not the hexview
panel3.Align:=alLeft;
splitter3.Align:=alLeft;
pnlStacktrace.align:=alclient;
splitter3.ResizeControl:=pnlStacktrace;
end
... |
I guess I like this the way it is now, but since I don't resize the form that often, I don't really care. |
oic, i wonder what's the reasoning behind it. i have no idea how to use the stacktrace panel, so i wouldn't know. i resize the hexview panel alot, to adjust the bytes per line.
|
|
| Back to top |
|
 |
|