Skip to content

Commit

Permalink
UI style fine-tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
xfangfang committed Jun 30, 2024
1 parent 3de6531 commit cfa14a1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/borealis
2 changes: 2 additions & 0 deletions resources/xml/fragment/settings_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
width="auto"
height="auto"
axis="column"
hideHighlightBackground="true"
hideHighlightBorder="true"
wireframe="false"
paddingLeft="60"
paddingRight="60"
Expand Down
1 change: 1 addition & 0 deletions resources/xml/views/inbox_msg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<brls:Image
id="msg/share/thumb"
height="200"
cornerRadius="4"
image="@res/pictures/video-card-bg.png"
scalingType="fill" />

Expand Down
2 changes: 1 addition & 1 deletion wiliwili/source/fragment/mine_later.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class DataSourceMineWatchLaterList : public RecyclingGridDataSource {
RecyclingGridItem* cellForRow(RecyclingGrid* recycler, size_t index) override {
RecyclingGridItemVideoCard* item = (RecyclingGridItemVideoCard*)recycler->dequeueReusableCell("Cell");
bilibili::WatchLaterItem& r = this->list[index];
item->setCard(r.pic, r.title, r.owner.name, 0, r.stat.view, r.stat.danmaku, r.duration); //todo
item->setCard(r.pic + ImageHelper::h_ext, r.title, r.owner.name, 0, r.stat.view, r.stat.danmaku, r.duration); //todo
return item;
}

Expand Down
2 changes: 1 addition & 1 deletion wiliwili/source/view/inbox_msg_card.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ void InboxMsgCard::setCard(const bilibili::InboxMessageResult& r, const IEMap& m
}
if (r.content.contains("thumb")) {
std::string thumb = r.content.at("thumb");
ImageHelper::with(this->shareThumb)->load(thumb);
ImageHelper::with(this->shareThumb)->load(thumb + ImageHelper::h_ext);
}
if (r.content.contains("author")) {
std::string author = r.content.at("author");
Expand Down

0 comments on commit cfa14a1

Please sign in to comment.