mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
set vertical alignment to start
This commit is contained in:
parent
2275be5f95
commit
c240c9faee
4 changed files with 10 additions and 0 deletions
|
|
@ -5,6 +5,10 @@ using namespace app::browser::main::tab::page::content::text;
|
||||||
Gemini::Gemini(
|
Gemini::Gemini(
|
||||||
const Glib::ustring & GEMTEXT
|
const Glib::ustring & GEMTEXT
|
||||||
) {
|
) {
|
||||||
|
set_valign(
|
||||||
|
Gtk::Align::START
|
||||||
|
);
|
||||||
|
|
||||||
set_wrap(
|
set_wrap(
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
#define APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_GEMINI_HPP
|
#define APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_GEMINI_HPP
|
||||||
|
|
||||||
#include <glibmm/ustring.h>
|
#include <glibmm/ustring.h>
|
||||||
|
#include <gtkmm/enums.h>
|
||||||
#include <gtkmm/label.h>
|
#include <gtkmm/label.h>
|
||||||
|
|
||||||
namespace app::browser::main::tab::page::content::text
|
namespace app::browser::main::tab::page::content::text
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,10 @@ using namespace app::browser::main::tab::page::content::text;
|
||||||
Plain::Plain(
|
Plain::Plain(
|
||||||
const Glib::ustring & TEXT
|
const Glib::ustring & TEXT
|
||||||
) {
|
) {
|
||||||
|
set_valign(
|
||||||
|
Gtk::Align::START
|
||||||
|
);
|
||||||
|
|
||||||
set_wrap(
|
set_wrap(
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
#define APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_PLAIN_HPP
|
#define APP_BROWSER_MAIN_TAB_PAGE_CONTENT_TEXT_PLAIN_HPP
|
||||||
|
|
||||||
#include <glibmm/ustring.h>
|
#include <glibmm/ustring.h>
|
||||||
|
#include <gtkmm/enums.h>
|
||||||
#include <gtkmm/label.h>
|
#include <gtkmm/label.h>
|
||||||
|
|
||||||
namespace app::browser::main::tab::page::content::text
|
namespace app::browser::main::tab::page::content::text
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue