Increase height of middle panel to prevent icon overflow #7030
Labels
No Label
Closed
Duplicate
Closed
Fixed
Closed
Invalid
Closed
Needs info
Closed
Won't fix
Closed
Works for me
Difficulty
Hard
Difficulty
Medium
Difficulty
Simple
Needed for Beta
Needs Design Input
Needs Info
Pathfinding
Priority
1: Release Blocker
Priority
2: Must Have
Priority
3: Should Have
Priority
4: Nice To Have
Priority
5: If Time Permits
Regression
Theme
AI
Theme
Art & Animation
Theme
Atlas editor
Theme
Build & Packages
Theme
Core engine
Theme
Internationalization & Localization
Theme
Maps
Theme
Multiplayer Lobby
Theme
Music & Sound FX
Theme
Network
Theme
Non-game systems
Theme
Simulation
Theme
UI & Simulation
Theme
UI β Game setup
Theme
UI β In-game
Theme
UI β Miscellaneous
Theme
Website & Forum
Type
Defect
Type
Enhancement
Type
Task
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: 0ad/0ad#7030
Loadingβ¦
Reference in New Issue
Block a user
No description provided.
Delete Branch "abian/0ad:portrait-overflowing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Increase height of middle panel to prevent icon overflow
The icon/portrait of the middle panel when a single entity was selected
was very subtly (4 px) overflowing its lane and invading that of the
entity's name. This change fixes that by:
Raising the top of the middle panel by 4 px to leave room for the
portrait/icon. This avoids having to shrink it and lose quality.
Distributing the 4 px of difference in height in the statistics area
by lowering 1 px the top bar, 1 px the middle bar (if any), and 3 px
the bottom bar (if any). The rest of the elements are lowered 4 px,
and therefore remain in the same place.
Increasing the height of the minimap panel by 4 px so that it remains
aligned with the middle panel, vertically centering the minimap, and
making the necessary adjustments to the position of its buttons.
Additionally, a couple of minor changes are applied:
The separators between the statistics area and the attack/resistance
and resources area, and between the attack/resistance and resources
area and the entity name area, which had different heights, are set
to the same height/thickness.
The attack/resistance icon, which was very close to the entity
icon/portrait, is moved 1 px to the right, and the
resourceCarryingText (in the same area), which was very far from the
resourceCarryingIcon, is also moved 3 px to the right.
Fixes #7029
fab1275429
toffad17dbf4
The portraits have a size of 256x256, so changing form 96 to 92 means changing gcf from 32 to 4, which might degrade the picture quality. Someone with an eye for art should have a look. I usually still can't really tell the difference when others cry butcher.
I agree on the overflow being an issue tho.
I agree with sera, I think it would be better to raise the top of the central panel by 4 px to leave room. It's up to you whether HP and CP bars should be raised and follow the portrait, or should stay here with extra top padding.
ffad17dbf4
to848baa0705
Fix icon/portrait subtly overflowing its lane in the central panelto Increase height of middle panel to prevent icon overflow848baa0705
toecafbc15f4
I really like the change π
Now I am a bit bothered visually by the fact that the minimap panel now is not as high as the central panel. Maybe add 2px at the top and 2px at the bottom of that panel to bring it to 204px as well... But I'm not sure that's meaningful. @Stan what do you think?
If you do this, the minimap will no longer be square, which might cause issues with the buttons, won't it ?
No I mean increasing the height of the minimap panel but not changing the size of the contents. Just adding some padding.
Hmm, I don't see why the minimap and the middle panel had to be the same height before. The whole bottom part is anything but symmetrical, it even has a certain "skyline" look (not necessarily a bad thing).
I think I have the same opinion. But the fact I noticed the newly introduced discrepancy is a sign we might need the input of users here.
@Stan Here are screens for an artist's opinion.
I asked artsy people and they think you should raise the minimap box by 2px as well :)
Please do this small change and I'll merge.
ecafbc15f4
to31442358c2
Done!
31442358c2
to668ae8a20e
Thanks for the work!