Qt status window icon alignment
When the game windows were initialized, the anhk icon for alignment was centered relative to Lawful/Neutral/Chaotic label but during the first status update it noticeably shifted left. Non-blank hunger or encumbrance states could change from centered to left justified when they were present and the icon was replaced. Oddly, resetting the 'centered' attribute for the widget wasn't sufficient to fix this. Running the resize code for that widget did. Another case of trial and error to make things work the way they ought. Also, don't highlight a change in alignment or dungeon location as "got worse" if the internal numeric value went down instead of up; always highlight as "got better" for those two fields. There ought to be a third choice for just "changed" but that would have been more complicated.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.330 $ $NHDT-Date: 1602716771 2020/10/14 23:06:11 $
|
||||
NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.332 $ $NHDT-Date: 1602958104 2020/10/17 18:08:24 $
|
||||
|
||||
General Fixes and Modified Features
|
||||
-----------------------------------
|
||||
@@ -443,6 +443,9 @@ Qt: for menu search, don't require clicking on the search target popup before
|
||||
Qt: rest ("Zz") button on the toolbar only worked when 'rest_on_space' was On
|
||||
(core issue, not Qt's fault)
|
||||
Qt: rename toolbar button "Get" and action menu choice "Get" to "Pick up"
|
||||
Qt: status icons for alignment|hunger|encumbrance which started out centered
|
||||
relative to the label text below them would shift to being left
|
||||
justified when status got updated
|
||||
Qt+OSX: fix control key
|
||||
Qt+OSX: rename menu entry "nethack->Preferences..." for invoking nethack's
|
||||
'O' command to "Game->Run-time options" and entry "Game->Qt settings"
|
||||
|
||||
Reference in New Issue
Block a user