Qt: yet more status...
Fix the minor problem of the status lines moving up or down a
tiny amount when using the condensed (statuslines:2) layout and
the condition line changed from empty to non-empty or vice versa.
The widget used as filler when no conditions are shown needed to
have non-empty label text (single space suffices) and also has
to have its font set to the same value as the rest of status.
(I previously tried a label of " " and also "_" but had left the
font with its default value.)
The adjustments to the prefix string when the value of Xp/Exp
("Level" -> "Lvl" -> "L") or Score ("Score" -> "Scr" -> "S") was
too wide needed some fixing up. If shrinkage was needed, it was
setting the value multiple times and any extra times confused
field highlighting because it seemed to be assigning same value
rather than a changed one.
For condensed layout that moves Alignment to the Characteristics
line, add a vertical separator line between Charisma and Alignment.
This commit is contained in:
@@ -131,6 +131,8 @@ private:
|
||||
QFrame hline1; // between dlevel and characteristics
|
||||
QFrame hline2; // between characteristics and regular status fields
|
||||
QFrame hline3; // between regular fields and time,score or conditions
|
||||
QFrame vline1; // for statuslines:2, between Cha and Alignment
|
||||
QFrame vline2; // for statuslines:2, padding between Gold and Time
|
||||
|
||||
int cursy;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user