Emulator Issues #11314
openQt: Make Layout more compact
0%
Description
A "compact" mode for Dolphin would be highly appreciated, right now Qt takes up too much screen space for some people (e.g. me).
Files
Updated by JMC4789 over 6 years ago
- Assignee set to spycrab0
The debug GUI is very tough to fit on a single monitor, but maybe a redesign that takes advantage of Qt's benefits would be better than an extra configuration mode?
Updated by spycrab0 over 6 years ago
- Issue type changed from Bug to Feature request
Updated by spycrab0 over 6 years ago
- Status changed from New to Fix pending
https://github.com/dolphin-emu/dolphin/pull/7299. This should make the spacing more compact. You should also reduce your debugger font size.
Updated by nwplayer123 over 6 years ago
- File Screenshot_127.png Screenshot_127.png added
- File Screenshot_128.png Screenshot_128.png added
- File Screenshot_129.png Screenshot_129.png added
- File Screenshot_130.png Screenshot_130.png added
- File Screenshot_131.png Screenshot_131.png added
- File Screenshot_132.png Screenshot_132.png added
- File Screenshot_133.png Screenshot_133.png added
- File Screenshot_134.png Screenshot_134.png added
- File Screenshot_135.png Screenshot_135.png added
I don't think this goes far enough, also I found some bugs.
-
https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/DolphinQt/ToolBar.cpp#L135 is what makes the icons way wider than they need to be (see original post), I just removed that whole code chunk, can't figure out how to make the text and icon have less spacing like Wx but that'll work better
-
I fiddled with the debugger stuff some more, https://github.com/dolphin-emu/dolphin/pull/7299/files#diff-41a00b5b09ef5aedac65735e3f0ede62R43 doesn't actually do anything, and the sections can resize to 0 and disappear (but will reappear when you resize it back), not sure if that's intentional, maybe set a minimum height
2.5) In https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/DolphinQt/Debugger/CodeWidget.cpp#L84, I found this worked better
layout->setContentsMargins(6, 6, 6, 8);
m_search_address->setContentsMargins(0, 0, 5, 5);
m_search_symbols->setContentsMargins(0, 0, 0, 5);
callstack_box->setContentsMargins(0, 6, 0, 0);
callstack_layout->setSpacing(0);
callstack_layout->setContentsMargins(6, 14, 6, 6);
symbols_box->setContentsMargins(0, 6, 0, 0);
symbols_layout->setSpacing(0);
symbols_layout->setContentsMargins(6, 14, 6, 6);
function_calls_box->setContentsMargins(0, 6, 0, 0);
function_calls_layout->setSpacing(0);
function_calls_layout->setContentsMargins(6, 14, 6, 6);
function_callers_box->setContentsMargins(0, 6, 0, 0);
function_callers_layout->setSpacing(0);
function_callers_layout->setContentsMargins(6, 14, 6, 6);
-
I don't see an option to "reduce" my debugger font size, it comes like that out of the box, probably high DPI problems since this is a 4K display, Wx was fine out of the box
-
I didn't try to poke at this, but removing that padding between each game entry so it's just a solid column of banners (maybe 1px) in Screenshot_129 would help since it's that much more vertical space
-
I didn't try to figure this out either, but it'd be nice to remove this ugly bar for the pop-out windows and make the tabs do the same thing, not sure if Qt allows that
-
Audio tab needs scroll bar disabled, and changing the layout so the volume doesn't extend all the way down, e.g. Wx would be nice
-
Same with paths, scrollbar should be probably be inside the paths box, also making a HBoxLayout so the checkboxes are to the left of the Add/Remove, not below, would probably have to change the text for that so it doesn't get cut off
-
More nitpicking, would be nice to have this text to the left like the GameCube ones are (I know it's cuz of the button but can probably do negative margin something)
Sorry for being super nitpicky, feel free to ignore any number of these requests
Updated by spycrab0 over 6 years ago
- Subject changed from Qt: Feature Request - Compact Mode to Qt: Make Layout more compact
- Status changed from Fix pending to Work started
- Issue type changed from Feature request to Task
Note that I only worked on the debugger widgets and things not related to the debugger will have to go into another PR.
Wx was fine out of the box
Wx just used some hardcoded number out-of-the-box. We just take your standard system monospace font. You can find the option to change your debugger font under Options -> Font while the debugging mode is active.
Audio tab needs scroll bar disabled, and changing the layout so the volume doesn't extend all the way down, e.g. Wx would be nice
No, this is intended. It shouldn't show up by default though but this is a separate issue and should be handled as such.
Same with paths, scrollbar should be probably be inside the paths box, also making a HBoxLayout so the checkboxes are to the left of the Add/Remove, not below, would probably have to change the text for that so it doesn't get cut off
the sections can resize to 0 and disappear (but will reappear when you resize it back), not sure if that's intentional, maybe set a minimum height
Intentional in case someone wants to hide them.
Don't really see much of an issue with this one either to be honest. Also might be better off being handled separately.
More nitpicking, would be nice to have this text to the left like the GameCube ones are (I know it's cuz of the button but can probably do negative margin something)
I'm just going to assume this is related to Screenshot_135.png for now: This is emphasized to show that these options are actually "children" of the radio buttons and will be toggled because of them.
I didn't try to poke at this, but removing that padding between each game entry so it's just a solid column of banners (maybe 1px) in Screenshot_129 would help since it's that much more vertical space
This is already subject of another issue report, so it'd better off being handled there.
Updated by spycrab0 over 5 years ago
- Status changed from Work started to Questionable
Are there still complaints about the compactness or has this been addressed to a satisfactory degree?
Updated by nwplayer123 over 5 years ago
- File Screenshot_529.png Screenshot_529.png added
- File Screenshot_530.png Screenshot_530.png added
- File Screenshot_531.png Screenshot_531.png added
- File Screenshot_532.png Screenshot_532.png added
- File Screenshot_533.png Screenshot_533.png added
Oh man, looked at commits, you've been busy, um.
Couple nitpicks:
- Memory viewer clips (at least on my 4K display)
- there's no actual divider between debug part and listing
- code has this weird resizing to fit the whole line (not sure if/how that's "fixable")
- make game list toggleable (so it's not taking up space when debugging, and also so I can hide it completely if I just need one game, can just hit "play" whenever I need to restart it)
- I'd love an option to use uppercase hex instead of lowercase
then yes, I'll be happy
Updated by Billiard26 9 months ago
- Related to Emulator Issues #11019: QT control customization pane missing features and regression from WX added