Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[REQUEST] Memory View Form Stacktrace Panel Resize Behavior

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
predprey
Master Cheater
Reputation: 24

Joined: 08 Oct 2015
Posts: 486

PostPosted: Tue Aug 30, 2016 11:40 pm    Post subject: [REQUEST] Memory View Form Stacktrace Panel Resize Behavior Reply with quote

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
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Wed Aug 31, 2016 10:22 am    Post subject: Reply with quote

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
View user's profile Send private message
predprey
Master Cheater
Reputation: 24

Joined: 08 Oct 2015
Posts: 486

PostPosted: Wed Aug 31, 2016 10:23 am    Post subject: Reply with quote

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
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4719

PostPosted: Wed Aug 31, 2016 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message
predprey
Master Cheater
Reputation: 24

Joined: 08 Oct 2015
Posts: 486

PostPosted: Wed Aug 31, 2016 10:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites